Example #1
0
 public static FileProcessorFactory GetInstance()
 {
     if (_instance == null)
     {
         _instance = new FileProcessorFactory();
     }
     return _instance;
 }
Example #2
0
 /// <summary>
 /// actual diposal method.
 /// </summary>
 /// <param name="dispose_others"></param>
 protected virtual void Dispose(bool dispose_others)
 {
     if (dispose_others == true)
     {
         //nothing to do here...
     }
     _instance = null;
 }