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
Type | Name | Description |
---|---|---|
Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient | metaFileSystemClient | The client to use to write the data to storage. |
System.String | dirpath | The path to the directory to write the data to. |
<T> | data | The data to write to storage. |