public override IConfig Clone() { CConfig config = new CActionConfig(Name); config.SystemContext = SystemContext; this.CopyTo(config); return(config); }
public static IActionConfig BuildActionConfig(IMonitorSystemContext context, string xml) { CActionConfig config = new CActionConfig(); config.SystemContext = context; if (config.BuildConfig(xml)) { return(config); } else { return(null); } }