Skip to main content

Interface IArtifactWriter<T>

Interface for classes that read data from storage into an object of type T.

Namespace: Workspace.XBR.Xperiflow.Routines.Io

Assembly: Xperiflow.dll

Declaration
public interface IArtifactWriter<T>

Properties

ArtifactFileAnnotations

The artifact file annotations to be written to storage. This provides runtime information on how to read back the data from the corresponding artifact reader. Please ensure that your File Annotations leverage the proper syntax for the artifact reader to work with.

Declaration
List<ArtifactFileAnnotation> ArtifactFileAnnotations { get; }

Methods

Write(IMetaFileSystemClient, string, T)

Write the data to storage.

Declaration
void Write(IMetaFileSystemClient metaFileSystemClient, string dirpath, T data)
Parameters
TypeNameDescription
Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClientmetaFileSystemClientThe client to use to write the data to storage.
System.StringdirpathThe path to the directory to write the data to.
<T>dataThe data to write to storage.

Was this page helpful?