public personObject(amountType amount, personType guf, timeType time, genderType gender, string word) { this.Amount = amount; this.Guf = guf; this.Time = time; this.Gender = gender; this.Word = word; }
/// <summary> /// Maps the type of the time /// </summary> /// <param name="timeType">Type of the time</param> /// <param name="restTypeSpecified">if set to <c>true</c> [rest type specified]</param> /// <returns>TimeType</returns> public static TimeType MapTimeType(timeType timeType, bool restTypeSpecified) { if (!restTypeSpecified) { return(TimeType.Unknown); } if (timeType == timeType.interval) { return(TimeType.Interval); } return(TimeType.Fixed); }