Esempio n. 1
0
 protected virtual void OnDisplayNameChanged()
 {
     DisplayNameChanged?.Invoke(this, EventArgs.Empty);
 }
Esempio n. 2
0
 /// <summary>
 /// Notifies the client that the display name for the session has changed.
 /// </summary>
 /// <param name="newDisplayName">The new display name for the session. </param>
 /// <param name="eventContext">The event context value.</param>
 /// <returns>HRESULT</returns>
 void IAudioSessionEvents.OnDisplayNameChanged(string newDisplayName, ref Guid eventContext)
 {
     DisplayNameChanged?.Invoke(this, new AudioSessionDisplayNameChangedEventArgs(newDisplayName, eventContext));
 }