Table of Contents

Method TryGetDriver

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

TryGetDriver(string, out DriverDescriptor?)

Gets a driver descriptor by name (case-insensitive).

public static bool TryGetDriver(string name, out DriverRegistry.DriverDescriptor? descriptor)

Parameters

name string

The driver name.

descriptor DriverRegistry.DriverDescriptor

The found descriptor, or null if not found.

Returns

bool

True if found; false otherwise.