# IniReader constructor

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

## IniReader(TextReader) {#Sisk_IniConfiguration_Core_Serialization_IniReader__ctor_System_IO_TextReader_}

Creates an new [IniReader](https://docs.sisk-framework.org/api/Sisk.IniConfiguration.Core.Serialization.IniReader.md) with the specified text reader.

```csharp
public IniReader(TextReader reader)
```

### Parameters

`reader` [TextReader](https://learn.microsoft.com/dotnet/api/system.io.textreader)

The [TextReader](https://learn.microsoft.com/dotnet/api/system.io.textreader) instace to read the INI document.
