Table of Contents

Method Contains

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

Contains(T)

Checks whether given item is present in the buffer. This method is not implemented. Use Contains(Func<T, bool>) instead.

public bool Contains(T item)

Parameters

item T

Item to check for.

Returns

bool

Whether the buffer contains the item.

Exceptions

NotImplementedException

Contains(Func<T, bool>)

Checks whether given item is present in the buffer using given predicate to find it.

public bool Contains(Func<T, bool> predicate)

Parameters

predicate Func<T, bool>

Predicate used to check for the item.

Returns

bool

Whether the buffer contains the item.