public static CreateContest ( global id, global name, global createdDate, global deadline, global description, global status, global mininumVoteNumber, global maximumVoteNumber ) : Contest | ||
id | global | Initial value of the Id property. |
name | global | Initial value of the Name property. |
createdDate | global | Initial value of the CreatedDate property. |
deadline | global | Initial value of the Deadline property. |
description | global | Initial value of the Description property. |
status | global | Initial value of the Status property. |
mininumVoteNumber | global | Initial value of the MininumVoteNumber property. |
maximumVoteNumber | global | Initial value of the MaximumVoteNumber property. |
Résultat | Contest |
public static Contest CreateContest(global::System.Int32 id, global::System.String name, global::System.DateTime createdDate, global::System.DateTime deadline, global::System.String description, global::System.Byte status, global::System.Int32 mininumVoteNumber, global::System.Int32 maximumVoteNumber)
{
Contest contest = new Contest();
contest.Id = id;
contest.Name = name;
contest.CreatedDate = createdDate;
contest.Deadline = deadline;
contest.Description = description;
contest.Status = status;
contest.MininumVoteNumber = mininumVoteNumber;
contest.MaximumVoteNumber = maximumVoteNumber;
return contest;
}