Click or drag to resize

DefaultCommand Class

Represents the default command based on a method with command attributes.
Inheritance Hierarchy

Namespace:  SampSharp.GameMode.SAMP.Commands
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class DefaultCommand : ICommand

The DefaultCommand type exposes the following members.

Constructors
  NameDescription
Public methodDefaultCommand
Initializes a new instance of the DefaultCommand class.
Top
Properties
  NameDescription
Public propertyDisplayName
Gets the display name.
Public propertyIsCaseIgnored
Gets a value indicating whether this instance ignores the case of the command.
Public propertyIsMethodMemberOfPlayer
Gets a value indicating whether this instance is method member of player.
Public propertyMethod
Gets the method.
Public propertyNames
Gets the names.
Public propertyParameters
Gets the parameters.
Public propertyPermissionCheckers
Gets the permission checkers.
Public propertyUsageMessage
Gets the usage message.
Top
Methods
  NameDescription
Public methodCanInvoke
Determines whether this instance can be invoked by the specified player.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetParameterType
Gets the type of the specified parameter.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke
Invokes this command.
Public methodStatic memberIsValidCommandMethod
Determines whether the specified method is a valid command method.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSendPermissionDeniedMessage
Sends the permission denied message for the specified permission checker.
Protected methodSendUsageMessage
Sends the usage message to the specified player.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
See Also