Inheritance: DotLiquid.ILiquidizable
Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckInState" /> class.
 /// </summary>
 /// <param name="deviceId">The device id.</param>
 /// <param name="checkinTypeId">The checkin type identifier.</param>
 /// <param name="configuredGroupTypes">The configured group types.</param>
 public CheckInState(int deviceId, int?checkinTypeId, List <int> configuredGroupTypes)
 {
     DeviceId             = deviceId;
     CheckinTypeId        = checkinTypeId;
     ConfiguredGroupTypes = configuredGroupTypes;
     CheckIn = new CheckInStatus();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckInState" /> class.
 /// </summary>
 /// <param name="deviceId">The device id.</param>
 /// <param name="checkinTypeId">The checkin type identifier.</param>
 /// <param name="configuredGroupTypes">The configured group types.</param>
 public CheckInState( int deviceId, int? checkinTypeId, List<int> configuredGroupTypes )
 {
     DeviceId = deviceId;
     CheckinTypeId = checkinTypeId;
     ConfiguredGroupTypes = configuredGroupTypes;
     CheckIn = new CheckInStatus();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckInState"/> class.
 /// </summary>
 /// <param name="localDeviceConfiguration">The local device configuration.</param>
 public CheckInState(LocalDeviceConfiguration localDeviceConfiguration)
 {
     DeviceId             = localDeviceConfiguration.CurrentKioskId ?? 0;
     CheckinTypeId        = localDeviceConfiguration.CurrentCheckinTypeId;
     AllowCheckout        = localDeviceConfiguration.AllowCheckout ?? this.CheckInType?.AllowCheckoutDefault ?? false;
     ConfiguredGroupTypes = (localDeviceConfiguration.CurrentGroupTypeIds == null) ? new List <int>() : localDeviceConfiguration.CurrentGroupTypeIds.ToList();
     CheckIn  = new CheckInStatus();
     Messages = new List <CheckInMessage>();
 }