NetMQ.Core.Command.Command C# (CSharp) Method

Command() public method

Create a new Command object for the given destination, type, and optional argument.
public Command ( [ destination, CommandType type, [ arg = null ) : JetBrains.Annotations
destination [ a ZObject that denotes the destination for this command
type CommandType the CommandType of the new command
arg [ an Object to comprise the argument for the command (optional)
return JetBrains.Annotations
        public Command([CanBeNull] ZObject destination, CommandType type, [CanBeNull] object arg = null) : this()
        {
            Destination = destination;
            CommandType = type;
            Arg = arg;
        }