Class OpeningHourViewModel
Represents the ViewModel for an opening hour
Inheritance
System.Object
OpeningHourViewModel
Namespace: Simplic.PlugIn.SAC.Contact
Assembly: Simplic.PlugIn.SAC.dll
Syntax
public class OpeningHourViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceOpeningHourViewModel(OpeningHour)
Initializes a new OpeningHourViewModel with a given model
Declaration
public OpeningHourViewModel(OpeningHour model)
Parameters
Type | Name | Description |
---|---|---|
OpeningHour | model |
Properties
| Improve this Doc View SourceDayOfWeek
Gets the DayOfWeek
Declaration
public DayOfWeek DayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
System.DayOfWeek |
Model
Gets the model instance
Declaration
public OpeningHour Model { get; }
Property Value
Type | Description |
---|---|
OpeningHour |
TimeFrom
Gets or sets the time where the contact is opening
Declaration
public DateTime TimeFrom { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
TimeTo
Gets or sets the time where the contact is closing
Declaration
public DateTime TimeTo { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |