Saimoe.Models.Vote.CreateVote C# (CSharp) Method

CreateVote() public static method

Create a new Vote object.
public static CreateVote ( global id, global createdDate, global googlePlusId, global status ) : Vote
id global Initial value of the Id property.
createdDate global Initial value of the CreatedDate property.
googlePlusId global Initial value of the GooglePlusId property.
status global Initial value of the Status property.
return Vote
        public static Vote CreateVote(global::System.Int32 id, global::System.String createdDate, global::System.String googlePlusId, global::System.Int32 status)
        {
            Vote vote = new Vote();
            vote.Id = id;
            vote.CreatedDate = createdDate;
            vote.GooglePlusId = googlePlusId;
            vote.Status = status;
            return vote;
        }