C# Класс Z.Expressions.SqlServer.Eval.SharedList

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
InnerList List
LockValue int

Открытые методы

Метод Описание
AcquireLock ( ) : void

Acquires the lock on the shared cache.

ReleaseLock ( ) : void

Releases the lock on the shared cache.

SharedList ( ) : System

Default constructor.

TryAdd ( SQLNETParallelItem value ) : bool

Attempts to add a value in the shared cache for the specified key.

TryGetValue ( int key, SQLNETParallelItem &value ) : bool

Attempts to get value from the shared cache for the specified key.

TryRemove ( SQLNETParallelItem value ) : void

Описание методов

AcquireLock() публичный Метод

Acquires the lock on the shared cache.
public AcquireLock ( ) : void
Результат void

ReleaseLock() публичный Метод

Releases the lock on the shared cache.
public ReleaseLock ( ) : void
Результат void

SharedList() публичный Метод

Default constructor.
public SharedList ( ) : System
Результат System

TryAdd() публичный Метод

Attempts to add a value in the shared cache for the specified key.
public TryAdd ( SQLNETParallelItem value ) : bool
value SQLNETParallelItem The value.
Результат bool

TryGetValue() публичный Метод

Attempts to get value from the shared cache for the specified key.
public TryGetValue ( int key, SQLNETParallelItem &value ) : bool
key int The key.
value SQLNETParallelItem [out] The value.
Результат bool

TryRemove() публичный Метод

public TryRemove ( SQLNETParallelItem value ) : void
value SQLNETParallelItem
Результат void

Описание свойств

InnerList публичное свойство

Gets or sets the inner dictionary used to cache items.
public List InnerList
Результат List

LockValue публичное свойство

The lock value.
public int LockValue
Результат int