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.158 -- Release Build+742760b9fc81f0ff99a22d1d8a726573e73efb7e
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