Beispiel #1
0
 bool Finish()
 {
     if (ClusterControl2 != null)
     {
         CustomAssemblyHelper.InvokeMethod(ClusterControl2, "Stop", new object[] { });
         return(true);
     }
     return(false);
 }
Beispiel #2
0
 bool Initiate()
 {
     ClusterControl2 = CustomAssemblyHelper.GetInstanceOf("ClusterLib2.dll", "ClusterLib2.ClusterControl2");
     if (ClusterControl2 != null)
     {
         CustomAssemblyHelper.InvokeMethod(ClusterControl2, "Run", new object[] { });
     }
     return(ClusterControl2 != null);
 }