コード例 #1
0
        private void TryNoticeChanged(ConfigType configType, string configName, string content)
        {
            RuleCollection collection = null;

            switch (configType)
            {
            case ConfigType.File:
                collection = this.FileRules;
                break;

            case ConfigType.Item:
                collection = this.ItemRules;
                break;
            }
            ;
            collection?.TryNoticeChanged(configName, content);
        }