Interface IArtifactReader<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 IArtifactReader<T>
Methods
IsApplicable(List<ArtifactFileAnnotation>)
Determine whether or not this Artifact Reader is applicable to the given artifact file annotations.
Declaration
bool IsApplicable(List<ArtifactFileAnnotation> artifactFileAnnotations)
Returns
System.Boolean
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List < Workspace.XBR.Xperiflow.Routines.Artifacts.ArtifactFileAnnotation > | artifactFileAnnotations | The file annotation protocol as defined by the Routine system. |
Read(IMetaFileSystemClient, string, List<ArtifactFileAnnotation>)
Read the data from storage into an object of type T
Declaration
T Read(IMetaFileSystemClient metaFileSystemClient, string dirpath, List<ArtifactFileAnnotation> artifactFileAnnotations)
Returns
<T>
The object of type T that was read from storage.
Parameters
Type | Name | Description |
---|---|---|
Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient | metaFileSystemClient | The client to use to read the data from storage. |
System.String | dirpath | The path to the directory containing the data to read. |
System.Collections.Generic.List < Workspace.XBR.Xperiflow.Routines.Artifacts.ArtifactFileAnnotation > | artifactFileAnnotations | The annotations from the Routine system that describe the artifact files to read. |