GPCore - The Gibphone API

GPStateMethodAttribute Members

GPStateMethodAttribute overview

Public Instance Constructors

GPStateMethodAttribute Constructor Creates a new GPMethodAttribute.

Public Instance Properties

Action The type of the element it modifies.
MethodName The name of the method to invoke to request for the state.
Name The text that will be put in the menu.
OnState True if you want to show this action when the state is equal to State; otherwise false.
State 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 Invokes the method.
Show Checks the state.
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

GPStateMethodAttribute Class | GPCore.Attributes Namespace