Class MessageCollection
Inheritance
System.Object
MessageCollection
Implements
System.Collections.Generic.ICollection<Message>
System.Collections.Generic.IEnumerable<Message>
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 MessageCollection : ICollection<Message>, IEnumerable<Message>, IEnumerable
Constructors
MessageCollection()
Declaration
public MessageCollection()
Properties
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 Message this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
Message |
Methods
Add(Message)
Declaration
public void Add(Message item)
Parameters
Type | Name | Description |
---|---|---|
Message | item |
Clear()
Declaration
public void Clear()
Contains(Message)
Declaration
public bool Contains(Message item)
Parameters
Type | Name | Description |
---|---|---|
Message | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(Message[], Int32)
Declaration
public void CopyTo(Message[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
Message[] | array | |
System.Int32 | arrayIndex |
GetEnumerator()
Declaration
public IEnumerator<Message> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<Message> |
Remove(Message)
Declaration
public bool Remove(Message item)
Parameters
Type | Name | Description |
---|---|---|
Message | 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