Class ResourceCatalog
A catalog is a top level element and holds a list of resources.
public record ResourceCatalog : IEquatable<ResourceCatalog>
- Inheritance
-
ResourceCatalog
- Implements
- Inherited Members
Constructors
ResourceCatalog(string, IReadOnlyDictionary<string, JsonElement>?, IReadOnlyList<Resource>?)
A catalog is a top level element and holds a list of resources.
public ResourceCatalog(string Id, IReadOnlyDictionary<string, JsonElement>? Properties, IReadOnlyList<Resource>? Resources)
Parameters
IdstringGets the identifier.
PropertiesIReadOnlyDictionary<string, JsonElement>Gets the properties.
ResourcesIReadOnlyList<Resource>Gets the list of representations.
Properties
Id
Gets the identifier.
public string Id { get; init; }
Property Value
Properties
Gets the properties.
public IReadOnlyDictionary<string, JsonElement>? Properties { get; init; }
Property Value
Resources
Gets the list of representations.
public IReadOnlyList<Resource>? Resources { get; init; }