Class WebAppArtifactWriter
The Artifact Writer for writing json data to a .appref text file.
Namespace: Workspace.XBR.Xperiflow.Routines.Io
Assembly: Xperiflow.dll
Declaration
public class WebAppArtifactWriter : IArtifactWriter<JObject>
Implements:
Workspace.XBR.Xperiflow.Routines.Io.IArtifactWriter<Newtonsoft.Json.Linq.JObject>
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
public List<ArtifactFileAnnotation> ArtifactFileAnnotations { get; }
Methods
Write(IMetaFileSystemClient, string, JObject)
Writes the json data to a .appref file based on a directory path that exists in the Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient.
Declaration
public void Write(IMetaFileSystemClient metaFileSystemClient, string dirpath, JObject data)
Parameters
Type | Name | Description |
---|---|---|
Workspace.XBR.Xperiflow.MetaFileSystem.IMetaFileSystemClient | metaFileSystemClient | The MetaFileSystemClient to use to write the .appref file. |
System.String | dirpath | The directory path to write the .appref file to. |
Newtonsoft.Json.Linq.JObject | data | The JObject data to write to the .appref file. |
Implements
Workspace.XBR.Xperiflow.Routines.Io.IArtifactWriter<Newtonsoft.Json.Linq.JObject>
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