Class YamlReader
Inherited Members
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class YamlReader
Methods
FromFileAsync<T>(string)
Declaration
public static Task<T> FromFileAsync<T>(string fileName) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
FromYaml<T>(string)
Declaration
public static T FromYaml<T>(string yaml) where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| string | yaml |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |