[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.DataProcessing.Persistence.SnapshotSerializer.Save

Save Method

Save<T>(Stream, T, bool)

Save snapshot to specified stream.

Declaration
public static void Save<T>(Stream output, T data, bool formatted = false)
Parameters
Type Name Description
Stream output

output stream

T data

snapshot data

bool formatted

specifies if snapshot data is formatted

Type Parameters
Name Description
T

snapshot Type

Save<T>(TextWriter, T, bool)

Save snapshot using specified textwriter.

Declaration
public static void Save<T>(TextWriter textWriter, T data, bool formatted = false)
Parameters
Type Name Description
TextWriter textWriter

text writer

T data

snapshot data

bool formatted

specifies if snapshot data is formatted

Type Parameters
Name Description
T

snapshot Type

Save<T>(FileInfo, T, bool)

Save snapshot to specified file.

Declaration
public static void Save<T>(FileInfo file, T data, bool formatted = false)
Parameters
Type Name Description
FileInfo file

output file

T data

snapshot data

bool formatted

specifies if snapshot data is formatted

Type Parameters
Name Description
T

snapshot Type