public NetworkErrorEventArgs(NetworkErrorEventType type, String message) { this.Type = type; this.Message = message; }
public NetworkException(NetworkErrorEventType type, String message) : base(message) { this.Type = type; }
private void RaiseError(NetworkErrorEventType type, String message) { Debug.WriteLine(message); NetworkError?.Invoke(this, new NetworkErrorEventArgs(type, message)); }