[This is preliminary documentation and is subject to change.]

Should be applied to behavior interfaces that work in the Request phase of a request/response cycle.

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  System.AttributeSystem.AttributeSystem::Attribute
    Simple.Web.Behaviors.BehaviorAttributeSimple.Web.Behaviors.BehaviorAttributeSimple::Web::Behaviors::BehaviorAttribute
      Simple.Web.Behaviors.RequestBehaviorAttributeSimple.Web.Behaviors.RequestBehaviorAttributeSimple::Web::Behaviors::RequestBehaviorAttribute

Namespace: Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public sealed class RequestBehaviorAttributeBehaviorAttribute

VB

Public NotInheritable Class RequestBehaviorAttribute Inherits BehaviorAttribute

C++

public ref class RequestBehaviorAttribute sealedpublic BehaviorAttribute

The RequestBehaviorAttributeRequestBehaviorAttributeRequestBehaviorAttribute type exposes the following members.

Constructors

Name Description
RequestBehaviorAttribute(Type)New(Type)RequestBehaviorAttribute(Type^) Initializes a new instance of the RequestBehaviorAttributeRequestBehaviorAttributeRequestBehaviorAttribute class.
Top

Properties

Name Description
ImplementingTypeImplementingTypeImplementingType Gets the type that implements the behaviour. (Inherited from BehaviorAttributeBehaviorAttributeBehaviorAttribute.)
PriorityPriorityPriority Gets or sets the priority, allowing control over the order in which behaviors are processed. (Inherited from BehaviorAttributeBehaviorAttributeBehaviorAttribute.)
TypeIdTypeIdTypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from AttributeAttributeAttribute.)
Top

Methods

Name Description
Equals(object)Equals(Object)Equals(Object^) Returns a value that indicates whether this instance is equal to a specified object. (Inherited from AttributeAttributeAttribute.)
  Get(Type)Get(Type)Get(Type^) Gets the RequestBehaviorAttributeRequestBehaviorAttributeRequestBehaviorAttribute for the specified type.
GetHashCode()GetHashCode()GetHashCode() Returns the hash code for this instance. (Inherited from AttributeAttributeAttribute.)
GetType()GetType()GetType() Gets the Type of the current instance. (Inherited from ObjectObjectObject.)
IsDefaultAttribute()IsDefaultAttribute()IsDefaultAttribute() When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from AttributeAttributeAttribute.)
Match(object)Match(Object)Match(Object^) When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from AttributeAttributeAttribute.)
ToString()ToString()ToString() Returns a string that represents the current object. (Inherited from ObjectObjectObject.)
Top

Explicit Interface Implementations

Name Description
  _Attribute.GetIDsOfNames(Guid, IntPtr, uint, uint, IntPtr)_Attribute.GetIDsOfNames(Guid, IntPtr, UInteger, UInteger, IntPtr)_Attribute::GetIDsOfNames(Guid, IntPtr, unsigned int, unsigned int, IntPtr) Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from AttributeAttributeAttribute.)
  _Attribute.GetTypeInfo(uint, uint, IntPtr)_Attribute.GetTypeInfo(UInteger, UInteger, IntPtr)_Attribute::GetTypeInfo(unsigned int, unsigned int, IntPtr) Retrieves the type information for an object, which can be used to get the type information for an interface. (Inherited from AttributeAttributeAttribute.)
  _Attribute.GetTypeInfoCount(uint)_Attribute.GetTypeInfoCount(UInteger)_Attribute::GetTypeInfoCount(unsigned int) Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from AttributeAttributeAttribute.)
  _Attribute.Invoke(uint, Guid, uint, short, IntPtr, IntPtr, IntPtr, IntPtr)_Attribute.Invoke(UInteger, Guid, UInteger, Short, IntPtr, IntPtr, IntPtr, IntPtr)_Attribute::Invoke(unsigned int, Guid, unsigned int, short, IntPtr, IntPtr, IntPtr, IntPtr) Provides access to properties and methods exposed by an object. (Inherited from AttributeAttributeAttribute.)
Top

Remarks

The Request phase occurs before a handler has been run.

See Also

Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors Namespace