コード例 #1
0
 public new static void Start(string appName)
 {
     if (appInstance == null)
     {
         appInstance = new LoggedApplication();
         appInstance.Start(appName);
     }
     else
     {
         Logger.LogError("Error encountered: {0}",
             "Only one instance of OpMediaApplication (or derived) can be started per process !!");
     }
 }
コード例 #2
0
 public new static void Start(string appName)
 {
     if (appInstance == null)
     {
         appInstance = new LoggedApplication();
         appInstance.Start(appName);
     }
     else
     {
         Logger.LogError("Error encountered: {0}",
                         "Only one instance of OpMediaApplication (or derived) can be started per process !!");
     }
 }