Espera.Core.SongEventArgs.SongEventArgs C# (CSharp) Method

SongEventArgs() public method

Initializes a new instance of the SongEventArgs class.
song is null.
public SongEventArgs ( Song song ) : System
song Song The song that has been found.
return System
        public SongEventArgs(Song song)
        {
            if (song == null)
                throw new ArgumentNullException(Reflector.GetMemberName(() => song));

            this.Song = song;
        }
SongEventArgs