Table of Contents

Method Contains

Namespace
Oscova.Agents.Collections
Assembly
Oscova.Agents.dll

Contains(string)

Determines whether an agent identifier exists in the cache.

public bool Contains(string agentId)

Parameters

agentId string

The agent identifier to check.

Returns

bool

true when the identifier is cached.

Contains(ChatClientAgent)

Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

public bool Contains(ChatClientAgent item)

Parameters

item ChatClientAgent

The object to locate in the System.Collections.Generic.ICollection`1.

Returns

bool

true if item is found in the System.Collections.Generic.ICollection`1; otherwise, false.