Felbook.Models.Status.CreateStatus C# (CSharp) Method

CreateStatus() public static method

Create a new Status object.
public static CreateStatus ( global id, global text, global created, global eventId ) : Status
id global Initial value of the Id property.
text global Initial value of the Text property.
created global Initial value of the Created property.
eventId global Initial value of the EventId property.
return Status
        public static Status CreateStatus(global::System.Int32 id, global::System.String text, global::System.DateTime created, global::System.Int32 eventId)
        {
            Status status = new Status();
            status.Id = id;
            status.Text = text;
            status.Created = created;
            status.EventId = eventId;
            return status;
        }