public BindableAppointmentSlotDuration(AppointmentSlotDuration value) { Duration = value; DisplayName = value.GetAttributeValue<DisplayAttribute, string>(displayNameAttribute => displayNameAttribute.Name); Order = value.GetAttributeValue<DisplayAttribute, int>(displayNameAttribute => displayNameAttribute.Order); }
public BindableAppointmentSlotDuration(AppointmentSlotDuration value) { Duration = value; DisplayName = value.GetAttributeValue <DisplayAttribute, string>(displayNameAttribute => displayNameAttribute.Name); Order = value.GetAttributeValue <DisplayAttribute, int>(displayNameAttribute => displayNameAttribute.Order); }