Beispiel #1
0
 /// <summary>
 /// Initializes the SrsBusiness instance.
 /// </summary>
 public static void Initialize()
 {
     if (Instance == null)
     {
         Instance = new SrsBusiness();
     }
     else
     {
         throw new InvalidOperationException(
                   "The instance is already loaded.");
     }
 }
 /// <summary>
 /// Initializes the SrsBusiness instance.
 /// </summary>
 public static void Initialize()
 {
     if (Instance == null)
     {
         Instance = new SrsBusiness();
     }
     else
     {
         throw new InvalidOperationException(
             "The instance is already loaded.");
     }
 }