Show / Hide Table of Contents

Class FileWriter

Write exchange object to file

Inheritance
object
FileWriter
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Exchange
Assembly: PayrollEngine.Client.Core.dll
Syntax
public static class FileWriter

Methods

WriteAsync<T>(T, string)

Writes object to file

Declaration
public static Task WriteAsync<T>(T obj, string fileName) where T : class
Parameters
Type Name Description
T obj

The object to store

string fileName

Name of the file

Returns
Type Description
Task
Type Parameters
Name Description
T
Remarks

Supported file types JSON/YAML

☀
☾
Back to top Generated by DocFX