Click or drag to resize
Ranorex

CacheSessionContext Class

Represents a scope wherein a CacheSession is active.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreCacheSessionContext

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class CacheSessionContext : IDisposable

The CacheSessionContext type exposes the following members.

Constructors
  NameDescription
Public methodCacheSessionContext
Creates a new context for a CacheSession.
Public methodCacheSessionContext(Boolean)
Creates a new context for a CacheSession.
Top
Properties
  NameDescription
Public propertyStatic memberIsActive
Gets a value indicating whether the current cache session is active.
Top
Methods
  NameDescription
Public methodDispose
Disposes the current CacheSessionContext. If this context is the currently active CacheSessionContext, the new current context will be the context that has been replaced by this context.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Disposes this context on finalize if Dispose has not been called yet.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSet
Sets the specified value in the cache for the specified key.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberTryGetValue
Tries to get the value for the specified key from the cache.
Top
See Also