N
nfr
I have a Singleton Model object that can be instantiated by different
applications at runtime. This object activates a Channel using the config
file in its constructor, which needs the name of the config file as a
string.
Because the object does not know the application in which it is being
instantiated and because it's constructor is private, I need to know how to
determine the name of the default config file (i.e., filename.exe.config).
Does anyone know how I might do this?
applications at runtime. This object activates a Channel using the config
file in its constructor, which needs the name of the config file as a
string.
Because the object does not know the application in which it is being
instantiated and because it's constructor is private, I need to know how to
determine the name of the default config file (i.e., filename.exe.config).
Does anyone know how I might do this?