Click or drag to resize

WmiModelBaseTData, TDataModel Class

Base class for all WMI models. The generic describes the corresponding configuration type of the class - interface.
Inheritance Hierarchy

Namespace:  Xcalibur.WMI.Framework
Assembly:  Xcalibur.WMI.Framework (in Xcalibur.WMI.Framework.dll) Version: 3.0.0.0 (3.0.1.0)
Syntax
public abstract class WmiModelBase<TData, TDataModel> : IWmiModelBase<TData>, 
	IDisposable
where TDataModel : new(), TData

Type Parameters

TData
The type of the data.
TDataModel
The type of the data model.

The WmiModelBaseTData, TDataModel type exposes the following members.

Properties
  NameDescription
Public propertyId
Gets or sets the id.
Public propertyQueryBuilder
Gets or sets the query items.

Note: This is only used for Pull implementations.

Public propertyResults
List of results from GetResults or GetResultsAsync. This has been made public in the event that an alternate method will be used outside of this class.
Public propertyWmiClass
WMI class that corresponds to the searcher.
Top
Methods
  NameDescription
Public methodDispose
Implement IDisposable. Do not make this method virtual. A derived class should not be able to override this method.
Public methodDispose(Boolean)
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGet
Gets the specified object.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate(Int32)
Updates this instance.
Public methodUpdateTConfig(TConfig, Int32)
Updates the specified configuration.
Top
See Also