Click or drag to resize

LogicalThreadLocalT Class

Represents a slot in the thread local memory space of each logical thread.
Inheritance Hierarchy
SystemObject
  GSF.ThreadingLogicalThreadLocalT

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public sealed class LogicalThreadLocal<T> : IDisposable
View Source

Type Parameters

T

The LogicalThreadLocalT type exposes the following members.

Constructors
 NameDescription
Public methodLogicalThreadLocalT Creates a new instance of the LogicalThreadLocalT class.
Public methodLogicalThreadLocalT(FuncT) Creates a new instance of the LogicalThreadLocalT class.
Top
Properties
 NameDescription
Public propertyValue Gets or sets the thread local object associated with the current logical thread.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the LogicalThreadLocalT object.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the LogicalThreadLocalT object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(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