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