c# Programming Glossary: baselogger
How to delay static initialization within a property http://stackoverflow.com/questions/3065952/how-to-delay-static-initialization-within-a-property looks like this public static class Context public static BaseLogger LogObject null public static BaseLogger Log get return LogFactory.instance.. public static BaseLogger LogObject null public static BaseLogger Log get return LogFactory.instance class LogFactory static.. LogFactory static LogFactory internal static readonly BaseLogger instance LogObject new BaseLogger null null null USAGE EXAMPLE..
|