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