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)); } }
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); } }
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)); } }
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; } }