Skip to main content
Namespace: Phoenix.Pacz
Assembly: Phoenix.Pacz.dll
Generic implementation of Phoenix.PaczAPI.IExternalMetadata that stores, reads, and writes external metadata.

Inheritance

object ← DefaultExternalMetadata

Derived

LegacyExternalMetadata, MinervaExternalMetadata

Implements

IExternalMetadata

Inherited Members

object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()

Constructors

DefaultExternalMetadata() Constructor. DefaultExternalMetadata(DefaultExternalMetadata) Constructor.

Fields

METADATA_FILE_NAME The name of the external metadata file. This must match the constant in DefaultExternalMetadata.java _metadata Internal map of metadata keys and values.

Properties

IsReadOnly If the PACZ is read only Metadata The name-value paris of the external metadata. Name The Name of the Metadata ReadOnlyReason Explination of why the component is read only SourceUri The Minerva source URI of the Pacz

Methods

FromString(string) Creates a Phoenix.Pacz.DefaultExternalMetadata object from a JSON serialization of an ExternalMetadata. GetMetadataValue(string) Gets the value associated with a specific piece of metadata. ToString() Serializes this metadata object as a JSON string. WriteToFileAsync(string) Writes the external metadata to a file. This does nothing if this does not contain any metadata values.