Class PortrayalBasis
What a product is drawn from: an S-100 portrayal catalogue (Catalogue), or a portrayal this library defines in code because the product's specification defines none (Application(string)). A Portrayal trait, so hosts label the portrayal from the registry rather than from a list of spec names.
public abstract record PortrayalBasis : IEquatable<PortrayalBasis>
- Inheritance
-
PortrayalBasis
- Implements
- Derived
- Inherited Members
Properties
AsApplication
The application portrayal, or null when the product is drawn from its catalogue.
public PortrayalBasis.ApplicationBasis? AsApplication { get; }
Property Value
Catalogue
The product is drawn from an S-100 portrayal catalogue.
public static PortrayalBasis Catalogue { get; }
Property Value
Methods
Application(string)
The product is drawn by a portrayal defined in code, because
basis defines none.
public static PortrayalBasis Application(string basis)
Parameters
basisstringThe specification and edition that define no portrayal, e.g.
"S-104 Ed 2.0.0", or the format for a product that isn't S-100.