Пример #1
0
		public static webModel.Setting ToWebModel(this coreModel.SettingEntry setting)
		{
			var retVal = new webModel.Setting();
			retVal.InjectFrom(setting);
			retVal.ValueType = setting.ValueType;
			return retVal;
		}
Пример #2
0
        public static webModel.Setting ToWebModel(this coreModel.SettingEntry setting)
        {
            var retVal = new webModel.Setting();

            retVal.InjectFrom(setting);
            retVal.ValueType = setting.ValueType;
            return(retVal);
        }
Пример #3
0
        public static coreModel.SettingEntry ToCoreModel(this webModel.Setting setting)
        {
            var retVal = new coreModel.SettingEntry();

            retVal.InjectFrom(setting);
            retVal.ValueType = setting.ValueType;
            return(retVal);
        }