Show / Hide Table of Contents

Class FileManager

Operations for reading text files, especially CSV files.

Inheritance
System.Object
FileManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CoreLibrary
Assembly: CoreLibrary.dll
Syntax
public static class FileManager

Methods

Dezerialize(String)

Synchronous non generic deserializer. Deserializes sample from json file.

Declaration
public static Sample Dezerialize(string filepath)
Parameters
Type Name Description
System.String filepath

Path to JSON file

Returns
Type Description
Sample

Sample made from the JSON file

Exceptions
Type Condition
SaveException

Thrown when failed to write stack

SerializeSync(Sample, String)

Synchronous non generic serialization of sample. Writes JSON string representing the sample into a file.

Declaration
public static void SerializeSync(Sample samp, string filepath)
Parameters
Type Name Description
Sample samp

Sample to serialize into JSON

System.String filepath

Filepath to the written JSON file

Exceptions
Type Condition
LoadException

Thrown when failed to write stack

In This Article
Back to top Generated by DocFX