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