Class FileReader
Read exchange mode from a file
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class FileReader
Methods
ReadAsync<T>(string)
Read object from file
Declaration
public static Task<T> ReadAsync<T>(string fileName) where T : class, new()
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the file |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Remarks
Supported file types are JSON/YAML and archives including JSON/YAML