コード例 #1
0
        private string GetConfigItems(ConfigItemTypes conf)
        {
            switch (conf)
            {
            case ConfigItemTypes.common:
                return(GetConfigItemsCommon());

            case ConfigItemTypes.patchautomation:
                return(GetConfigItemsPatchAuto());

            case ConfigItemTypes.zerodaypatch:
                return(GetConfigItemsZeroDay());
            }
            return("");
        }
コード例 #2
0
ファイル: TransportManager.cs プロジェクト: whble/crterm
 public TransportConfigItem(ConfigItemTypes ItemType, string Name, string CurrentValue, List <string> ListItems) :
     this(ItemType, Name, CurrentValue)
 {
     this.ListItems = ListItems;
 }
コード例 #3
0
ファイル: ConfigItem.cs プロジェクト: whble/crterm
 public ConfigItem(ConfigItemTypes ItemType, string Name, string CurrentValue)
 {
     this.ItemType = ItemType;
     this._name    = Name;
     this._value   = CurrentValue;
 }
コード例 #4
0
ファイル: TransportManager.cs プロジェクト: whble/crterm
 public TransportConfigItem(ConfigItemTypes ItemType, string Name, string CurrentValue)
 {
     this.ItemType = ItemType;
     this.Name     = Name;
     this.Value    = CurrentValue;
 }