コード例 #1
0
        public static webModel.Setting ToWebModel(this moduleModel.SettingEntry setting)
        {
            var retVal = new webModel.Setting();

            retVal.InjectFrom(setting);
            return(retVal);
        }
コード例 #2
0
		public static coreModel.SettingEntry ToCoreModel(this webModel.Setting setting)
		{
			var retVal = new coreModel.SettingEntry();
			retVal.InjectFrom(setting);
			retVal.ValueType = setting.ValueType;
			return retVal;
		}
コード例 #3
0
        public static moduleModel.SettingEntry ToModuleModel(this webModel.Setting setting)
        {
            var retVal = new moduleModel.SettingEntry();

            retVal.InjectFrom(setting);
            return(retVal);
        }
コード例 #4
0
        public static webModel.Setting ToWebModel(this coreModel.SettingEntry setting)
        {
            var retVal = new webModel.Setting();

            retVal.InjectFrom(setting);
            retVal.ValueType = setting.ValueType;
            return(retVal);
        }
コード例 #5
0
        public static coreModel.SettingEntry ToCoreModel(this webModel.Setting setting)
        {
            var retVal = new coreModel.SettingEntry();

            retVal.InjectFrom(setting);
            retVal.ValueType = setting.ValueType;
            return(retVal);
        }
コード例 #6
0
 public object Clone()
 {
     var retVal = new SettingEntry()
     {
         ModuleId = ModuleId,
         Name = Name,
         ObjectId = ObjectId,
         ObjectType = ObjectType,
         GroupName = GroupName,
         Value = Value,
         ValueType = ValueType,
         AllowedValues = AllowedValues,
         DefaultValue = DefaultValue,
         IsArray = IsArray,
         ArrayValues = ArrayValues,
         Title = Title,
         Description = Description
     };
     return retVal;
 }
コード例 #7
0
		public static moduleModel.SettingEntry ToModuleModel(this webModel.Setting setting)
        {
			var retVal = new moduleModel.SettingEntry();
			retVal.InjectFrom(setting);
			return retVal;
        }