AdapterCache Class

Represents a cache of loaded adapter types and their attributes.

Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
public static class AdapterCache
Inheritance
Object    AdapterCache

Remarks

This static class holds a cache of all IAdapter types found in the local application directory along with loaded attribute information.

Caches are dynamically loaded on first access and can be reloaded at runtime by calling the ReloadAdapterTypes method.

Properties

AdapterCommands Gets all adapter command attribute information for adapter types in the application directory.
AdapterProtocols Gets all adapter protocol attribute information for adapter types in the application directory.
AllAdapters Gets all time-series adapter types in the application directory.
AssemblyTypes Gets a cache of adapter types keyed by assembly file name and type name, e.g.: ("FileAdapters.dll", "FileAdapters.ProcessLauncher") for faster lookups.
UIResources Gets all UI resource attribute information for adapter types in the application directory.

Methods

GetAdapters Returns all adapters in the application directory filtered by EditorBrowsableState.
GetAssemblyFileName Gets the assembly file name for the given type.
GetAssemblyName Gets the assembly name for the given type.
GetConnectionParameters(String, String, DictionaryString, String) Gets the connection parameters for the adapter and type name, optionally applying connection settings.
GetConnectionParameters(String, String, String) Gets the connection parameters for the adapter and type name, optionally applying connection settings.
GetDescription Gets the adapter name and description for the given type parsed from the DescriptionAttribute.
GetEditorBrowsableState Gets the EditorBrowsableState for the given type. Defaults to Always if no attribute is found.
GetFullName Gets the FullName> for the given type, falling back on [!:Type.Name].
ReloadAdapterTypes Clears all cached adapter types and their attributes which will force a reload on next access.

See Also