# RoutePatchAttribute constructor

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

## RoutePatchAttribute(string) {#Sisk_Core_Routing_RoutePatchAttribute__ctor_System_String_}

Creates an new [RoutePatchAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RoutePatchAttribute.md) attribute instance with given path.

```csharp
public RoutePatchAttribute(string path)
```

### Parameters

`path` [string](https://learn.microsoft.com/dotnet/api/system.string)

The PATCH route path.

## RoutePatchAttribute() {#Sisk_Core_Routing_RoutePatchAttribute__ctor}

Creates an new [RoutePatchAttribute](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RoutePatchAttribute.md) attribute instance with an root path (/).

```csharp
public RoutePatchAttribute()
```
