C# Class Plugin.MediaManager.Abstractions.Implementations.MediaQueue

Inheritance: IMediaQueue
显示文件 Open project: martijn00/XamarinMediaManager Class Usage Examples

Protected Properties

Property Type Description
_unshuffledQueue ObservableCollection

Private Properties

Property Type Description
IEnumerable IEnumerator
RegisterCountTriggers void
RegisterCurrentTriggers void

Public Methods

Method Description
Add ( IMediaFile item ) : void
AddRange ( IEnumerable items ) : void
Clear ( ) : void
Contains ( IMediaFile item ) : bool
CopyTo ( IMediaFile array, int arrayIndex ) : void
GetEnumerator ( ) : IEnumerator
HasNext ( ) : bool
HasPrevious ( ) : bool
IndexOf ( IMediaFile item ) : int
Insert ( int index, IMediaFile item ) : void
MediaQueue ( ) : System
Remove ( IMediaFile item ) : bool
RemoveAt ( int index ) : void
SetIndexAsCurrent ( int index ) : void
SetNextAsCurrent ( ) : void
SetPreviousAsCurrent ( ) : void
SetTrackAsCurrent ( IMediaFile item ) : void
ToggleRepeat ( ) : void
ToggleShuffle ( ) : void
this ( int index ) : IMediaFile

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void
ReplaceQueueWith ( IEnumerable files ) : void

Private Methods

Method Description
IEnumerable ( ) : IEnumerator
RegisterCountTriggers ( ) : void
RegisterCurrentTriggers ( ) : void

Method Details

Add() public method

public Add ( IMediaFile item ) : void
item IMediaFile
return void

AddRange() public method

public AddRange ( IEnumerable items ) : void
items IEnumerable
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( IMediaFile item ) : bool
item IMediaFile
return bool

CopyTo() public method

public CopyTo ( IMediaFile array, int arrayIndex ) : void
array IMediaFile
arrayIndex int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

HasNext() public method

public HasNext ( ) : bool
return bool

HasPrevious() public method

public HasPrevious ( ) : bool
return bool

IndexOf() public method

public IndexOf ( IMediaFile item ) : int
item IMediaFile
return int

Insert() public method

public Insert ( int index, IMediaFile item ) : void
index int
item IMediaFile
return void

MediaQueue() public method

public MediaQueue ( ) : System
return System

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

Remove() public method

public Remove ( IMediaFile item ) : bool
item IMediaFile
return bool

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void

ReplaceQueueWith() protected method

protected ReplaceQueueWith ( IEnumerable files ) : void
files IEnumerable
return void

SetIndexAsCurrent() public method

public SetIndexAsCurrent ( int index ) : void
index int
return void

SetNextAsCurrent() public method

public SetNextAsCurrent ( ) : void
return void

SetPreviousAsCurrent() public method

public SetPreviousAsCurrent ( ) : void
return void

SetTrackAsCurrent() public method

public SetTrackAsCurrent ( IMediaFile item ) : void
item IMediaFile
return void

ToggleRepeat() public method

public ToggleRepeat ( ) : void
return void

ToggleShuffle() public method

public ToggleShuffle ( ) : void
return void

this() public method

public this ( int index ) : IMediaFile
index int
return IMediaFile

Property Details

_unshuffledQueue protected_oe property

protected ObservableCollection _unshuffledQueue
return ObservableCollection