# McpProviderIconSize constructor

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

## McpProviderIconSize(int, int) {#Sisk_ModelContextProtocol_McpProviderIconSize__ctor_System_Int32_System_Int32_}

Creates an icon size with the specified dimensions.

```csharp
public McpProviderIconSize(int width, int height)
```

### Parameters

`width` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The icon width in pixels.

`height` [int](https://learn.microsoft.com/dotnet/api/system.int32)

The icon height in pixels.

### Exceptions

[ArgumentOutOfRangeException](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception)

`width` or `height` is less than or equal to zero.

## McpProviderIconSize() {#Sisk_ModelContextProtocol_McpProviderIconSize__ctor}

Creates an icon size that represents any dimensions.

```csharp
public McpProviderIconSize()
```
