Class StringTextArtifactReader
An Artifact for reading a string from a text file called data.txt.
Namespace: Workspace.XBR.Xperiflow.Routines.Io
Assembly: Xperiflow.dll
Declaration
public class StringTextArtifactReader : IArtifactReader<string>
Implements:
Workspace.XBR.Xperiflow.Routines.Io.IArtifactReader<System.String>
Methods
IsApplicable(List<ArtifactFileAnnotation>)
Determine whether or not this Artifact Reader is applicable to the given artifact file annotations.
Declaration
public 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>)
Reads a string from a text file called data.txt based on a directory path that exists in the Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient.
Declaration
public string Read(IMetaFileSystemClient metaFileSystemClient, string dirpath, List<ArtifactFileAnnotation> artifactFileAnnotations)
Returns
System.String
The string data from the text file.
Parameters
Type | Name | Description |
---|---|---|
Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient | metaFileSystemClient | The MetaFileSystemClient to use to read the text file. |
System.String | dirpath | The directory path to where the text file data.txt exists. |
System.Collections.Generic.List < Workspace.XBR.Xperiflow.Routines.Artifacts.ArtifactFileAnnotation > | artifactFileAnnotations |
Implements
Workspace.XBR.Xperiflow.Routines.Io.IArtifactReader<System.String>
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