Table of Contents

Method QueueTryTake

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

QueueTryTake(out TItem)

Protected. Tries to remove the first item from the queue and return it if such an item exists.

protected bool QueueTryTake(out TItem Item)

Parameters

Item TItem

The variable to which the removed item will be assigned if such an item exists

Returns

bool

true if the item was removed and assigned, false overwise.

Remarks

The signature of this method is the same as one of TryTake(out T)