Class StreamCollection
A stream collection.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class StreamCollection : Collection<Stream, StreamCollection>
Methods
ArrayFromList(List<Stream>)
Creates an array from a list.
Declaration
protected override Stream[] ArrayFromList(List<Stream> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Stream> | list | The list. |
Returns
Type | Description |
---|---|
Stream[] |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.Stream, FM.LiveSwitch.StreamCollection>.ArrayFromList(System.Collections.Generic.List<FM.LiveSwitch.Stream>)
CreateCollection()
Creates a collection.
Declaration
protected override StreamCollection CreateCollection()
Returns
Type | Description |
---|---|
StreamCollection |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.Stream, FM.LiveSwitch.StreamCollection>.CreateCollection()
GetByType<T>(StreamType)
Gets a stream by its type.
Declaration
public T GetByType<T>(StreamType type)
where T : Stream
Parameters
Type | Name | Description |
---|---|---|
StreamType | type |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
GetManyByType<T>(StreamType)
Gets some streams by their type.
Declaration
public List<T> GetManyByType<T>(StreamType type)
where T : Stream
Parameters
Type | Name | Description |
---|---|---|
StreamType | type |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T> |
Type Parameters
Name | Description |
---|---|
T |