public static InternationalMusicLibrary GetInternationalMusicLibraryInstance() { if (instance == null) { lock (obj) { if (instance == null) { instance = new InternationalMusicLibrary(); } } } return(instance); }
public AppMusicLibrary() { songs = new List <Song>(); internationMusicLibrary = InternationalMusicLibrary.GetInternationalMusicLibraryInstance(); internationMusicLibrary.Subscribe(this); }