Пример #1
0
 public DetailedErrorViewModel(Exception ex, string[] displayedErrorData, CustomErrorResponse customErrorResponse)
 {
     _displayedErrorData = displayedErrorData;
     Initialise(ex, customErrorResponse);
 }
Пример #2
0
 private void Initialise(Exception ex, CustomErrorResponse customErrorResponse)
 {
     _exception           = ex;
     _customErrorResponse = customErrorResponse;
     Icon = Imaging.CreateBitmapSourceFromHIcon(SystemIcons.Warning.Handle, Int32Rect.Empty, BitmapSizeOptions.FromWidthAndHeight(40, 40));
 }
Пример #3
0
 public DetailedErrorViewModel(Exception ex, CustomErrorResponse customErrorResponse)
 {
     Initialise(ex, customErrorResponse);
 }