Table of Contents

Class RequestHandlerAttribute

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

Specifies that the method, when used on this attribute, will instantiate the type and call the IRequestHandler with given parameters.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
public class RequestHandlerAttribute : Attribute
Inheritance
RequestHandlerAttribute
Derived
Inherited Members

Constructors

RequestHandlerAttribute(Type)

Creates a new instance of this attribute with the informed parameters.

Properties

ConstructorArguments

Specifies parameters for the given type's constructor.

RequestHandlerType

Gets or sets the type that implements IRequestHandler which will be instantiated.