Exemplo n.º 1
0
 /// <summary>
 /// Static method for creating the single instance of the Constructor
 /// </summary>
 public static clsProcessor Instance()
 {
     // initialize if not already done
     if (mInstance == null)
     {
         mInstance = new clsProcessor();
     }
     // return the initialized instance of the Singleton Class
     return(mInstance);
 }
Exemplo n.º 2
0
 /// <summary> 
 /// Static method for creating the single instance of the Constructor 
 /// </summary> 
 public static clsProcessor Instance()
 {
     // initialize if not already done 
     if (mInstance == null)
     {
         mInstance = new clsProcessor();
     }
     // return the initialized instance of the Singleton Class 
     return mInstance;
 }