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