public void Dispose() { if (installedSource != null) { installedSource.SetSubstituteAudioDisplay (null); installedSource = null; } contents.Destroy (); contents.Dispose (); contents = null; }
public void ResetSource() { source = null; }
public bool SetSource(ISource src) { this.source = src as NowPlayingSource; return(this.source != null); }
public void ResetSource () { source = null; }
public bool SetSource (ISource src) { this.source = source as NowPlayingSource; return this.source != null; }
private void InstallDisplay(NowPlayingSource nps) { if (installedSource == null && nps != null) { nps.SetSubstituteAudioDisplay (contents); installedSource = nps; } }
private void OnSourceRemoved(SourceEventArgs args) { if (args.Source == installedSource) { installedSource = null; } }