GPCore - The Gibphone API

GPStateParameterlessMethodAttribute Members

GPStateParameterlessMethodAttribute overview

Public Instance Constructors

GPStateParameterlessMethodAttribute Constructor Creates a new GPStateParameterlessMethodAttribute, a Method Attribute that queries a function that doesnt have parameters for its state.

Public Instance Properties

Action (inherited from GPStateMethodAttribute) The type of the element it modifies.
MethodName (inherited from GPStateMethodAttribute) The name of the method to invoke to request for the state.
Name (inherited from GPStateMethodAttribute) The text that will be put in the menu.
OnState (inherited from GPStateMethodAttribute) True if you want to show this action when the state is equal to State; otherwise false.
State (inherited from GPStateMethodAttribute) A string representing an on/off type state.
TypeId (inherited from Attribute)When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute)Returns a value that indicates whether this instance is equal to a specified object.
GetHashCode (inherited from Attribute)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute)When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute)When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
PerformAction (inherited from GPStateMethodAttribute) Invokes the method.
Show This calls MethodName and returns whether or not the State is OnState
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GPStateParameterlessMethodAttribute Class | GPCore.Attributes Namespace