Saimoe.Models.Contestant.CreateContestant C# (CSharp) Method

CreateContestant() public static method

Create a new Contestant object.
public static CreateContestant ( global id, global googlePlusId, global createdDate, global lastLoginDate ) : Contestant
id global Initial value of the Id property.
googlePlusId global Initial value of the GooglePlusId property.
createdDate global Initial value of the CreatedDate property.
lastLoginDate global Initial value of the LastLoginDate property.
return Contestant
        public static Contestant CreateContestant(global::System.Int32 id, global::System.String googlePlusId, global::System.DateTime createdDate, global::System.DateTime lastLoginDate)
        {
            Contestant contestant = new Contestant();
            contestant.Id = id;
            contestant.GooglePlusId = googlePlusId;
            contestant.CreatedDate = createdDate;
            contestant.LastLoginDate = lastLoginDate;
            return contestant;
        }