コード例 #1
0
 public WarningViewModel()
 {
     Details           = new List <string>();
     ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.warningLightPlus);
     AlertColor        = "warning";
     RedirectSeconds   = 8;
     IsRedirecting     = true;
 }
コード例 #2
0
 public InfoViewModel()
 {
     Details           = new List <string>();
     ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.successLightPlus);
     AlertColor        = "info";
     RedirectSeconds   = 10;
     IsRedirecting     = true;
 }
コード例 #3
0
 public OkViewModel()
 {
     Details           = new List <string>();
     Title             = "Ugurlu Emeliyyat";
     ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.successLightPlus);
     AlertColor        = "primary";
     RedirectSeconds   = 10;
     IsRedirecting     = true;
 }
コード例 #4
0
 public ErrorViewModel()
 {
     Details           = new List <BussinessError>();
     Title             = "Ugursuz Emeliyyat";
     ColorOfNotifyBack = ColorNotify.GetColor(NameOfColors.dangerLightPlus);
     AlertColor        = "danger";
     RedirectSeconds   = 10;
     IsRedirecting     = true;
 }