Click or drag to resize

ServedClassNameAttribute Class

An attribute that confers a 'friendly name' on a class and marks it as loadable by LocalServer. The 'friendly name' is used by the ASCOM LocalServer to register the class with the ASCOM Chooser. The 'friendly name' is what gets displayed to the user in the driver selection combo box. This attribute is also used by the LocalServer to filter the assemblies that it will attempt to load at runtime. LocalServer will only load classes bearing this attribute.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    ASCOMServedClassNameAttribute

Namespace:  ASCOM
Assembly:  ASCOM.Attributes (in ASCOM.Attributes.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public sealed class ServedClassNameAttribute : Attribute

The ServedClassNameAttribute type exposes the following members.

Constructors
  NameDescription
Public methodServedClassNameAttribute
Initializes a new instance of the ServedClassNameAttribute class.
Top
Properties
  NameDescription
Public propertyDisplayName
Gets or sets the 'friendly name' of the served class, as registered with the ASCOM Chooser.
Top
See Also