/// <summary> /// Initializes a new SongList instance by loading a song list from a stream. /// </summary> /// <param name="stream">The stream to load from.</param> /// <returns>The loaded song list.</returns> public static SongList Load(Stream stream) { SongList songList = new SongList(); songList.Read(stream); return(songList); }
/// <summary> /// Initializes a new SongList instance by loading a song list from a byte array. /// </summary> /// <param name="array">The byte array to load from.</param> /// <returns>The loaded song list.</returns> public static SongList Load(byte[] array) { SongList songList = new SongList(); songList.Read(array); return(songList); }
/// <summary> /// Initializes a new SongList instance by loading a song list from a file. /// </summary> /// <param name="filePath">The path of the file to load from.</param> /// <returns>The loaded song list.</returns> public static SongList Load(string filePath) { SongList songList = new SongList(); songList.Read(filePath); return(songList); }