Table of Contents

Constructor DriverDescriptor

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

DriverDescriptor(string, string, string, PlatformID[], Func<IComponentFactory>)

Descriptor for a registered driver containing metadata and factory.

public DriverDescriptor(string Name, string DisplayName, string Description, PlatformID[] SupportedPlatforms, Func<IComponentFactory> CreateFactory)

Parameters

Name string

The driver name (lowercase, e.g., "windows").

DisplayName string

Human-readable display name (e.g., "Windows Console Driver").

Description string

Brief description of the driver's purpose and features.

SupportedPlatforms PlatformID[]

Array of platforms this driver supports.

CreateFactory Func<IComponentFactory>

Factory function to create an IComponentFactory instance.