Rossbot.Data.Commands.CreateCommands C# (CSharp) Метод

CreateCommands() публичный статический Метод

Create a new Commands object.
public static CreateCommands ( global id, global username, global command, global posted ) : Commands
id global Initial value of the Id property.
username global Initial value of the Username property.
command global Initial value of the Command property.
posted global Initial value of the Posted property.
Результат Commands
        public static Commands CreateCommands(global::System.Guid id, global::System.String username, global::System.String command, global::System.DateTime posted)
        {
            Commands commands = new Commands();
            commands.Id = id;
            commands.Username = username;
            commands.Command = command;
            commands.Posted = posted;
            return commands;
        }