Table of Contents

Class DeviceTypeDescriptionProvider<TElement>

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Provides dynamic device description data based on a private or internal Description property. As long as such a property exists, this type description provider will use it to override the default DescriptionAttribute of the class.

public sealed class DeviceTypeDescriptionProvider<TElement> : TypeDescriptionProvider

Type Parameters

TElement

The type of the element on which the attribute is applied.

Inheritance
DeviceTypeDescriptionProvider<TElement>
Inherited Members

Constructors

DeviceTypeDescriptionProvider()

Initializes a new instance of the DeviceTypeDescriptionProvider<TElement> class.

Methods

GetTypeDescriptor(Type, object)

Gets a custom type descriptor for the given type and object.