/// <summary> /// Initializes a new instance of the <see cref="SpotifyRemote"/> class. /// </summary> public SpotifyRemote() { // Inside this method you can place any initialization code that does not require // any Visual Studio service because at this point the package object is created but // not sited yet inside Visual Studio environment. The place to do all the other // initialization is the Initialize method. SettingsManager sm = new SettingsManager(); SettingsManager.ProvideSettingsManager(ref sm); m_spotifyManager = new SpotifyManager(); sm.SetSpotifyManager(ref m_spotifyManager); }
public void SetSpotifyManager(ref SpotifyManager spotifyManager) { m_spotifyManager = spotifyManager; }