Class IntervalViewModel
Inheritance
System.Object
IntervalViewModel
Namespace: Simplic.Interval.UI
Assembly: Simplic.Interval.UI.dll
Syntax
public class IntervalViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceIntervalViewModel(Interval)
Constructor
Declaration
public IntervalViewModel(Interval interval)
Parameters
Type | Name | Description |
---|---|---|
Interval | interval |
Properties
| Improve this Doc View SourceDayByName
Gets the enabled state of the day by name control
Declaration
public bool DayByName { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DayByNumber
Gets the enabled state of the day number control
Declaration
public bool DayByNumber { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DayNameOfExecution
Gets or sets the name (enum) of the start day
Declaration
public int DayNameOfExecution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DayNumberOfExecution
Gets or sets the number of a day in the selected month where to start
Declaration
public int DayNumberOfExecution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExecuteCount
Gets or sets the count of exections of this interval
Declaration
public int ExecuteCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Guid
Gets or sets the unique id
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IntervalTypeId
Gets or sets the number of the selected type
Declaration
public int IntervalTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LastExecute
Gets or sets the date of the last execution
Declaration
public DateTime LastExecute { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Model
Gets the model
Declaration
public Interval Model { get; }
Property Value
Type | Description |
---|---|
Interval |
MonthMaximum
Gets the maximum vor month select control
Declaration
public int MonthMaximum { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MonthNumber
Gets the enabled state of the month number control
Declaration
public bool MonthNumber { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MonthNumberOfExecution
Gets or sets the selected month by number
Declaration
public int MonthNumberOfExecution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceSave()
Writes the changes to database
Declaration
public void Save()