예제 #1
0
        public override IConfig Clone()
        {
            CConfig config = new CRoleConfig(Name);

            config.SystemContext = SystemContext;
            this.CopyTo(config);
            return(config);
        }
예제 #2
0
        public static CRoleConfig BuildRoleConfig(IMonitorSystemContext context, string xml)
        {
            CRoleConfig config = new CRoleConfig();

            config.SystemContext = context;
            if (config.BuildConfig(xml))
            {
                return(config);
            }
            else
            {
                return(null);
            }
        }