/// <summary> /// Create a new StoutBeer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="country">Initial value of the Country property.</param> /// <param name="weight">Initial value of the Weight property.</param> /// <param name="initialWeight">Initial value of the InitialWeight property.</param> public static StoutBeer CreateStoutBeer(global::System.Int64 id, global::System.String name, global::System.String country, global::System.Double weight, global::System.Double initialWeight) { StoutBeer stoutBeer = new StoutBeer(); stoutBeer.Id = id; stoutBeer.Name = name; stoutBeer.Country = country; stoutBeer.Weight = weight; stoutBeer.InitialWeight = initialWeight; return(stoutBeer); }
/// <summary> /// Create a new StoutBeer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="country">Initial value of the Country property.</param> /// <param name="weight">Initial value of the Weight property.</param> /// <param name="initialWeight">Initial value of the InitialWeight property.</param> public static StoutBeer CreateStoutBeer(global::System.Int64 id, global::System.String name, global::System.String country, global::System.Double weight, global::System.Double initialWeight) { StoutBeer stoutBeer = new StoutBeer(); stoutBeer.Id = id; stoutBeer.Name = name; stoutBeer.Country = country; stoutBeer.Weight = weight; stoutBeer.InitialWeight = initialWeight; return stoutBeer; }