Hi,
You can declare an interface like
public interface Logger{
void WriteLog( string msg, ..... );
}
you can implement classes as needed to cover each escenario and you just
pass an instance of it to your current class.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Steph" <pi**@pipo.com> wrote in message
news:44***********************@news.wanadoo.fr...
hello,
i m looking for detect the runmode (console, aspx, etc) and adapt my class
(delegate) for output writting...
thx
mcf