Coggle requires JavaScript to display documents.
public delegate void VideoEncodedEventHandler(object source, EventArgs args);
void VideoEncodedEventHandler(object source, EventArgs args);
public event VideoEncodedEventHandler VideoEncoded;
protected virtual void OnVideoEncoded() { VideoEncoded?.Invoke(this, EventArgs.Empty); }
OnVideoEncoded();
// Event Handler in subscriber public void OnVideoEncoded(object source, EventArgs args) { }
public void OnVideoEncoded(object source, EventArgs args) { Console.WriteLine("Sending new email..."); }
publisher.VideoEncoded += OnVideoEncoded;
public class VideoEventArgs : EventArgs { public Video currentVideo; }
public event EventHandler<VideoEventArgs> VideoEncoded; public event EventHandler VideoEncoded; // No args