Class RemoteMediaCollection
A collection of remote medias.
Inheritance
System.Object
RemoteMediaCollection
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 RemoteMediaCollection : Collection<RemoteMedia, RemoteMediaCollection>
Methods
AddSuccess(RemoteMedia)
Invoked when an element is added to the collection.
Declaration
protected override void AddSuccess(RemoteMedia value)
Parameters
Type | Name | Description |
---|---|---|
RemoteMedia | value | The value. |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.RemoteMedia, FM.LiveSwitch.RemoteMediaCollection>.AddSuccess(FM.LiveSwitch.RemoteMedia)
ArrayFromList(List<RemoteMedia>)
Creates an array from a list.
Declaration
protected override RemoteMedia[] ArrayFromList(List<RemoteMedia> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<RemoteMedia> | list | The list. |
Returns
Type | Description |
---|---|
RemoteMedia[] |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.RemoteMedia, FM.LiveSwitch.RemoteMediaCollection>.ArrayFromList(System.Collections.Generic.List<FM.LiveSwitch.RemoteMedia>)
CreateCollection()
Creates a collection.
Declaration
protected override RemoteMediaCollection CreateCollection()
Returns
Type | Description |
---|---|
RemoteMediaCollection |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.RemoteMedia, FM.LiveSwitch.RemoteMediaCollection>.CreateCollection()
GetById(String)
Gets a media by ID.
Declaration
public RemoteMedia GetById(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identifier. |
Returns
Type | Description |
---|---|
RemoteMedia |
RemoveSuccess(RemoteMedia)
Invoked when an element is removed from the collection.
Declaration
protected override void RemoveSuccess(RemoteMedia value)
Parameters
Type | Name | Description |
---|---|---|
RemoteMedia | value | The value. |
Overrides
FM.LiveSwitch.Collection<FM.LiveSwitch.RemoteMedia, FM.LiveSwitch.RemoteMediaCollection>.RemoveSuccess(FM.LiveSwitch.RemoteMedia)