# RouteMatch constructor

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

## RouteMatch(bool, NameValueCollection?) {#Sisk_Core_Routing_RouteMatch__ctor_System_Boolean_System_Collections_Specialized_NameValueCollection_}

Initializes a new instance of the [RouteMatch](https://docs.sisk-framework.org/api/Sisk.Core.Routing.RouteMatch.md) class.

```csharp
public RouteMatch(bool success, NameValueCollection? parameters)
```

### Parameters

`success` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

Whether the route matching operation was successful.

`parameters` [NameValueCollection](https://learn.microsoft.com/dotnet/api/system.collections.specialized.namevaluecollection)?

The parameters extracted from the route, if any.
