# RequestHandlerAttribute-1 constructor

Kind: Constructor  
Namespace: `Sisk.Core.Routing`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Routing.RequestHandlerAttribute-1.-ctor.html

## RequestHandlerAttribute() {#Sisk_Core_Routing_RequestHandlerAttribute_1__ctor}

Creates an new instance of this [RequestHandlerAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RequestHandlerAttribute.md) class.

```csharp
public RequestHandlerAttribute()
```

## RequestHandlerAttribute(params object?[]) {#Sisk_Core_Routing_RequestHandlerAttribute_1__ctor_System_Object___}

Creates an new instance of this [RequestHandlerAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RequestHandlerAttribute.md) class with the specified
constructor arguments for `T`.

```csharp
public RequestHandlerAttribute(params object?[] constructorArguments)
```

### Parameters

`constructorArguments` [object](https://learn.microsoft.com/dotnet/api/system.object)?\[\]

An optional array of objects which is passed to the request handler constructor.
