Class IntentCollection
Inheritance
System.Object
IntentCollection
Implements
System.Collections.Generic.ICollection<IntentResult>
System.Collections.Generic.IEnumerable<IntentResult>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syn.Bot.Oscova.Collections
Assembly: Syn.Bot.dll
Syntax
public class IntentCollection : ICollection<IntentResult>, IEnumerable<IntentResult>, IEnumerable
Constructors
IntentCollection(OscovaBot, IEnumerable<IntentResult>)
Declaration
public IntentCollection(OscovaBot bot, IEnumerable<IntentResult> results)
Parameters
Type | Name | Description |
---|---|---|
OscovaBot | bot | |
System.Collections.Generic.IEnumerable<IntentResult> | results |
IntentCollection(OscovaBot)
Declaration
public IntentCollection(OscovaBot bot)
Parameters
Type | Name | Description |
---|---|---|
OscovaBot | bot |
Properties
Bot
Declaration
public OscovaBot Bot { get; }
Property Value
Type | Description |
---|---|
OscovaBot |
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[Int32]
Declaration
public IntentResult this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
IntentResult |
Methods
Add(IntentResult)
Declaration
public void Add(IntentResult item)
Parameters
Type | Name | Description |
---|---|---|
IntentResult | item |
Clear()
Declaration
public void Clear()
Contains(IntentResult)
Declaration
public bool Contains(IntentResult item)
Parameters
Type | Name | Description |
---|---|---|
IntentResult | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(IntentResult[], Int32)
Declaration
public void CopyTo(IntentResult[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
IntentResult[] | array | |
System.Int32 | arrayIndex |
GetEnumerator()
Declaration
public IEnumerator<IntentResult> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<IntentResult> |
Remove(IntentResult)
Declaration
public bool Remove(IntentResult item)
Parameters
Type | Name | Description |
---|---|---|
IntentResult | item |
Returns
Type | Description |
---|---|
System.Boolean |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable