示例#1
0
 public Key(string userEmail, KeyAppointment keyAppointment, int value = 0)
 {
     Value       = value;
     Used        = false;
     UserEmail   = userEmail;
     Appointment = keyAppointment;
 }
示例#2
0
 public KeyDto(bool used, int value, string userEmail, KeyAppointment appointment)
 {
     Used        = used;
     Value       = value;
     UserEmail   = userEmail;
     Appointment = appointment;
 }
示例#3
0
 internal Key(string userEmail, KeyAppointment keyAppointment, bool used, int value = 0)
 {
     Value       = value;
     Used        = false;
     UserEmail   = userEmail;
     Appointment = keyAppointment;
     Used        = used;
 }
示例#4
0
 public WrongKeyAppointmentException(KeyAppointment wrongType)
     : base($"Wrong type of using key: {wrongType}")
 {
 }