Skip to content

Class TransportDescriptor

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Describes one transport exposed by an app.

public sealed class TransportDescriptor

objectTransportDescriptor

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

TransportDescriptor(string, string, string, TransportFeatures, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)

Section titled “ TransportDescriptor(string, string, string, TransportFeatures, IReadOnlyList<string>?, IReadOnlyDictionary<string, string>?)”

Creates a transport descriptor.

public TransportDescriptor(string id, string displayName, string description, TransportFeatures features, IReadOnlyList<string>? tags = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable transport identifier.

displayName string

The human-readable transport name.

description string

The transport description.

features TransportFeatures

The features supported by the transport.

tags IReadOnlyList<string>?

The tags associated with the transport.

metadata IReadOnlyDictionary<string, string>?

Optional transport metadata.

Gets the transport description.

public string Description { get; }

string

Gets the human-readable transport name.

public string DisplayName { get; }

string

Gets the features supported by the transport.

public TransportFeatures Features { get; }

TransportFeatures

Gets the stable transport identifier.

public string Id { get; }

string

Gets optional transport metadata.

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

IReadOnlyDictionary<string, string>

Gets the tags associated with the transport.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>