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

Namespace:  ASCOM
Assembly:  ASCOM.Attributes (in ASCOM.Attributes.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public sealed class ServedClassNameAttribute : Attribute

The ServedClassNameAttribute type exposes the following members.

Public methodServedClassNameAttribute
Initializes a new instance of the ServedClassNameAttribute class.
Public propertyDisplayName
Gets or sets the 'friendly name' of the served class, as registered with the ASCOM Chooser.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
See Also