Chooser Class

The Chooser provides a way for your application to let your user select which device to use.

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public class Chooser : IDisposable
Inheritance
Object    Chooser
Implements
IDisposable

Remarks

This component is a light wrapper for the Platform Chooser COM component. In time it will be re-written as a native .NET Core component

Constructors

Chooser Creates a new Chooser object with no logger
Chooser(ILogger) Creates a new Chooser object with a logger

Properties

DeviceType The type of device from which the Chooser will select a driver. (default = "Telescope")

Methods

Choose Select the ASCOM driver to use without pre-selecting one in the drop-down list
Obsolete
Choose(String) Display the Chooser dialogue enabling the user to select a driver
Obsolete
Dispose Release the Chooser component's Chooser COM object

Version Information

.NET Standard

Supported in: 2.0

See Also