예제 #1
0
        public static new string GetValuePropertyName(string key)
        {
            var obj = new AutoAddDataItem();

            if (key == CommonUtil.GetMemberName(() => obj.NextReserve))
            {
                return(CommonUtil.GetMemberName(() => obj.NextReserveValue));
            }
            else
            {
                return(RecSettingItem.GetValuePropertyName(key));
            }
        }
예제 #2
0
        public static string GetValuePropertyName(string key)
        {
            var obj = new RecSettingItem();

            if (key == CommonUtil.GetMemberName(() => obj.MarginStart))
            {
                return(CommonUtil.GetMemberName(() => obj.MarginStartValue));
            }
            else if (key == CommonUtil.GetMemberName(() => obj.MarginEnd))
            {
                return(CommonUtil.GetMemberName(() => obj.MarginEndValue));
            }
            else
            {
                return(key);
            }
        }
예제 #3
0
        public static new string GetValuePropertyName(string key)
        {
            var obj = new SearchItem();

            if (key == CommonUtil.GetMemberName(() => obj.StartTime))
            {
                return(CommonUtil.GetMemberName(() => obj.StartTimeValue));
            }
            else if (key == CommonUtil.GetMemberName(() => obj.ProgramDuration))
            {
                return(CommonUtil.GetMemberName(() => obj.ProgramDurationValue));
            }
            else
            {
                return(RecSettingItem.GetValuePropertyName(key));
            }
        }
예제 #4
0
 public static string GetValuePropertyName(string key)
 {
     var obj = new RecSettingItem();
     if (key == CommonUtil.GetMemberName(() => obj.MarginStart))
     {
         return CommonUtil.GetMemberName(() => obj.MarginStartValue);
     }
     else if (key == CommonUtil.GetMemberName(() => obj.MarginEnd))
     {
         return CommonUtil.GetMemberName(() => obj.MarginEndValue);
     }
     else
     {
         return key;
     }
 }