Click or drag to resize

MetadataProviderBase Class

Base class for a provider of updates to the data in a MetadataFile.
Inheritance Hierarchy

Namespace: GSF.Historian.MetadataProviders
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.207-beta
Syntax
View Source

The MetadataProviderBase type exposes the following members.

Constructors
 NameDescription
Protected methodMetadataProviderBase Initializes a new instance of the metadata provider.
Top
Properties
 NameDescription
Public propertyDomain Gets the AppDomain in which the Adapter is executing.
(Inherited from Adapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the Adapter is currently enabled.
(Inherited from Adapter)
Public propertyHostFile Gets or sets the path to the file where the Adapter is housed.
(Inherited from Adapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from Adapter)
Public propertyMemoryUsage Gets the memory utilization of the Adapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from Adapter)
Public propertyMetadata Gets or sets the MetadataFile to be refreshed by the metadata provider.
Public propertyName Gets the unique identifier of the Adapter.
(Inherited from Adapter)
Public propertyPersistSettings Gets or sets a boolean value that indicates whether Adapter settings are to be saved to the config file.
(Inherited from Adapter)
Public propertyProcessorUsage Gets the % processor utilization of the Adapter if executing in a separate AppDomain otherwise NaN.
(Inherited from Adapter)
Public propertyRefreshInterval Gets or sets the interval in minutes at which the Metadata if to be refreshed automatically.
Public propertyRefreshTimeout Gets or sets the number of seconds to wait for the Refresh to complete.
Public propertySettingsCategory Gets or sets the category under which Adapter settings are to be saved to the config file if the PersistSettings property is set to true.
(Inherited from Adapter)
Public propertyStatus Gets the descriptive status of the Adapter.
(Inherited from Adapter)
Public propertyTypeName Gets or sets the text representation of the Adapter's TypeName.
(Inherited from Adapter)
Top
Methods
 NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDispose Releases all the resources used by the Adapter.
(Inherited from Adapter)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the metadata provider and optionally releases the managed resources.
(Overrides AdapterDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the Adapter is reclaimed by GC.
(Inherited from Adapter)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes the metadata provider.
(Overrides AdapterInitialize)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public methodLoadSettings Loads saved metadata provider settings from the config file if the PersistSettings property is set to true.
(Overrides AdapterLoadSettings)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected methodOnDisposed Raises the Disposed event.
(Inherited from Adapter)
Protected methodOnExecutionException Raises the ExecutionException event.
(Inherited from Adapter)
Protected methodOnMetadataRefreshComplete Raises the MetadataRefreshComplete event.
Protected methodOnMetadataRefreshException Raises the MetadataRefreshException event.
Protected methodOnMetadataRefreshStart Raises the MetadataRefreshStart event.
Protected methodOnMetadataRefreshTimeout Raises the MetadataRefreshTimeout event.
Protected methodOnStatusUpdate Raises the StatusUpdate event.
(Inherited from Adapter)
Public methodRefresh Refreshes the Metadata from an external source.
Protected methodRefreshMetadata When overridden in a derived class, refreshes the Metadata from an external source.
Public methodSaveSettings Saves metadata provider settings to the config file if the PersistSettings property is set to true.
(Overrides AdapterSaveSettings)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDisposed Occurs when Adapter is disposed.
(Inherited from Adapter)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from Adapter)
Public eventMetadataRefreshComplete Occurs when Refresh of Metadata is completed.
Public eventMetadataRefreshException Occurs when an Exception is encountered during Refresh of Metadata.
Public eventMetadataRefreshStart Occurs when Refresh of Metadata is started.
Public eventMetadataRefreshTimeout Occurs when Refresh of Metadata times out.
Public eventStatusUpdate Occurs when the Adapter wants to provide a status update.
(Inherited from Adapter)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also