Class TransportDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Describes one transport exposed by an app.
public sealed class TransportDescriptorInheritance
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”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets the transport description.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the human-readable transport name.
public string DisplayName { get; }Property Value
Section titled “Property Value”Features
Section titled “ Features”Gets the features supported by the transport.
public TransportFeatures Features { get; }Property Value
Section titled “Property Value”Gets the stable transport identifier.
public string Id { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional transport metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Gets the tags associated with the transport.
public IReadOnlyList<string> Tags { get; }