public MeasurementUnit(Models.MeasurementUnitCustom customUnit = null, string areaUnit = null, string lengthUnit = null, string volumeUnit = null, string weightUnit = null, string genericUnit = null, string timeUnit = null, string type = null) { CustomUnit = customUnit; AreaUnit = areaUnit; LengthUnit = lengthUnit; VolumeUnit = volumeUnit; WeightUnit = weightUnit; GenericUnit = genericUnit; TimeUnit = timeUnit; Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="MeasurementUnit"/> class. /// </summary> /// <param name="customUnit">custom_unit.</param> /// <param name="areaUnit">area_unit.</param> /// <param name="lengthUnit">length_unit.</param> /// <param name="volumeUnit">volume_unit.</param> /// <param name="weightUnit">weight_unit.</param> /// <param name="genericUnit">generic_unit.</param> /// <param name="timeUnit">time_unit.</param> /// <param name="type">type.</param> public MeasurementUnit( Models.MeasurementUnitCustom customUnit = null, string areaUnit = null, string lengthUnit = null, string volumeUnit = null, string weightUnit = null, string genericUnit = null, string timeUnit = null, string type = null) { this.CustomUnit = customUnit; this.AreaUnit = areaUnit; this.LengthUnit = lengthUnit; this.VolumeUnit = volumeUnit; this.WeightUnit = weightUnit; this.GenericUnit = genericUnit; this.TimeUnit = timeUnit; this.Type = type; }
public Builder CustomUnit(Models.MeasurementUnitCustom value) { customUnit = value; return(this); }
public Builder CustomUnit(Models.MeasurementUnitCustom customUnit) { this.customUnit = customUnit; return(this); }