Пример #1
0
        private XCSettingItem CreateXCSettingItem(TXCSettingInfoType iType, string iKey)
        {
            XCSettingItem item = CreateXCSettingItem(iType);

            if (item == null)
            {
                return(null);
            }
            item.Key = iKey;
            return(item);
        }
Пример #2
0
        private XCSettingItem CreateXCSettingItem(TXCSettingInfoType iType, List <string> iValue)
        {
            XCSettingItem item = CreateXCSettingItem(iType);

            if (item == null)
            {
                return(null);
            }
            item.Value.LValue = iValue;
            return(item);
        }
Пример #3
0
        private XCSettingItem CreateXCSettingItem(TXCSettingInfoType iType, string iKey, List <string> iDebug, List <string> iRelease)
        {
            XCSettingItem item = CreateXCSettingItem(iType, iKey);

            if (item == null)
            {
                return(null);
            }
            item.Debug.LValue   = iDebug;
            item.Release.LValue = iRelease;
            return(item);
        }
Пример #4
0
        private XCSettingItem CreateXCSettingItem(TXCSettingInfoType iType)
        {
            XCSettingItem item = new XCSettingItem();

            if (item == null)
            {
                return(null);
            }
            ++this.XCSettingItemNo;
            item.No   = this.XCSettingItemNo;
            item.Type = iType;
            return(item);
        }