protected void OnFailed(Exception e) { if ((this.Failed != null)) { this.Failed(this, new LayerFailedEventArgs(e)); } }