Click or drag to resize

DisposableLoggingClassBase Class

A helper class that implements IDisposable that will raise log messages when this class is not properly disposed of.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsDisposableLoggingClassBase
    GSF.ThreadingEventTimer

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public abstract class DisposableLoggingClassBase : IDisposable
View Source

The DisposableLoggingClassBase type exposes the following members.

Constructors
 NameDescription
Protected methodDisposableLoggingClassBase Creates a DisposableLoggingClassBase
Top
Properties
 NameDescription
Protected propertyLog The LogPublisher for logging messages.
Top
Methods
 NameDescription
Protected methodCheckDisposed Checks if the class has been disposed, throws an exception if this is the case.
Public methodDispose Releases all the resources used by the DisposableLoggingClassBase object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the DisposableLoggingClassBase object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize This code is here to detect when finalizers are called rather than a class be properly disposed.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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