Felbook.Models.Message.CreateMessage C# (CSharp) Method

CreateMessage() public static method

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