Revision: 38023
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 22, 2010 17:07 by falconzy
Initial Code
# region Constructors private static volatile LogWorker current; private static object syncRoot = new Object(); private LogWorker() { } public static LogWorker Current { get { if (current == null) { lock (syncRoot) { if (current == null) { current = new LogWorker(); } } } return current; } } # endregion
Initial URL
Initial Description
Initial Title
Singleton Pattern
Initial Tags
Initial Language
C#