c# Programming Glossary: logobject
How to delay static initialization within a property http://stackoverflow.com/questions/3065952/how-to-delay-static-initialization-within-a-property this public static class Context public static BaseLogger LogObject null public static BaseLogger Log get return LogFactory.instance.. LogFactory internal static readonly BaseLogger instance LogObject new BaseLogger null null null USAGE EXAMPLE Optional initialization.. done once when the application launches... Context.LogObject new ConLogger Example invocation used throughout the rest of..
|