Skip to content

Class Capability

Namespace: Cephalon.Abstractions.Capabilities
Assembly: Cephalon.Abstractions.dll

Describes a capability contributed by a module or package.

public sealed class Capability

objectCapability

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

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)

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.

Gets the capability description.

public string Description { get; }

string

Gets the human-readable capability name.

public string DisplayName { get; }

string

Gets the stable capability key.

public string Key { get; }

string

Gets optional capability metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>