Export (0) Print
Expand All

ContextAttribute Members

Provides the default implementations of the IContextAttribute and IContextProperty interfaces.

The following tables list the members exposed by the ContextAttribute type.

  Name Description
Public method ContextAttribute Creates an instance of the ContextAttribute class with the specified name.
Top

  Name Description
Protected field AttributeName Indicates the name of the context attribute.
Top

  Name Description
Public property Name Gets the name of the context attribute.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.)
Top

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden.  
Public method Freeze Called when the context is frozen.
Public method Static GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Static GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method GetHashCode Overridden. Returns the hashcode for this instance of ContextAttribute.
Public method GetPropertiesForNewContext Adds the current context property to the given message.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsContextOK Returns a Boolean value indicating whether the context parameter meets the context attribute's requirements.
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Static IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method IsNewContextOK Returns a Boolean value indicating whether the context property is compatible with the new context.
Public method Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft