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