public NotificationTypeViewModel()
 {
     NotificationTypeRadioButtons = new StringIntRadioButtons(new[]
     { 
         new KeyValuePair<string, int>(EnumHelper.GetDisplayName(NotificationType.Recovery), (int)NotificationType.Recovery),
         new KeyValuePair<string, int>(EnumHelper.GetDisplayName(NotificationType.Disposal), (int)NotificationType.Disposal)
     });
 }
示例#2
0
 public NotificationTypeViewModel()
 {
     NotificationTypeRadioButtons = new StringIntRadioButtons(new[]
     {
         new KeyValuePair <string, int>(EnumHelper.GetDisplayName(NotificationType.Recovery), (int)NotificationType.Recovery),
         new KeyValuePair <string, int>(EnumHelper.GetDisplayName(NotificationType.Disposal), (int)NotificationType.Disposal)
     });
 }