AdapterCacheGetDescription Method

Gets the adapter name and description for the given type parsed from the DescriptionAttribute.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.170 -- Release Build+f464e1d84dd1e1809e105906771d4406aa28b88d
public static (string adapterName, string description) GetDescription(
	this Type type
)

Parameters

type  Type

[Missing <param name="type"/> documentation for "M:Gemstone.Timeseries.Adapters.AdapterCache.GetDescription(System.Type)"]

Return Value

ValueTupleString, String

[Missing <returns> documentation for "M:Gemstone.Timeseries.Adapters.AdapterCache.GetDescription(System.Type)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

If no DescriptionAttribute can be found, adapter name defaults to [!:Type.Name] and description defaults to FullName.

See Also