Ejemplo n.º 1
0
        /// <summary>
        /// Gets name of the note presented by the specified <see cref="NoteEvent"/>.
        /// </summary>
        /// <param name="noteEvent">Note event to get note name of.</param>
        /// <returns>Note name of the <paramref name="noteEvent"/>.</returns>
        /// <exception cref="ArgumentNullException"><paramref name="noteEvent"/> is null.</exception>
        public static NoteName GetNoteName(this NoteEvent noteEvent)
        {
            ThrowIfArgument.IsNull(nameof(noteEvent), noteEvent);

            return(NoteUtilities.GetNoteName(noteEvent.NoteNumber));
        }
Ejemplo n.º 2
0
 // Token: 0x06003482 RID: 13442 RVA: 0x00018223 File Offset: 0x00016423
 public static NoteName GetNoteName(this NoteEvent noteEvent)
 {
     return(NoteUtilities.GetNoteName(noteEvent.NoteNumber));
 }