Class Capability
Namespace: Cephalon.Abstractions.Capabilities
Assembly: Cephalon.Abstractions.dll
Describes a capability contributed by a module or package.
public sealed class CapabilityInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”Capability(string, string, string, IReadOnlyDictionary<string, string>?)
Section titled “ Capability(string, string, string, IReadOnlyDictionary<string, string>?)”Creates a capability descriptor.
public Capability(string key, string displayName, string description, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”key string
The stable capability key.
displayName string
The human-readable capability name.
description string
The capability description.
metadata IReadOnlyDictionary<string, string>?
Optional capability metadata.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the capability description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the human-readable capability name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Gets the stable capability key.
public string Key { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional capability metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }