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