Class TaskSchedulerViewModel
Single scheduler viewmodel
Inheritance
System.Object
TaskSchedulerViewModel
Namespace: Simplic.TaskScheduler.UI
Assembly: Simplic.TaskScheduler.UI.dll
Syntax
public class TaskSchedulerViewModel : ViewModelBase
Constructors
| Improve this Doc View SourceTaskSchedulerViewModel(TaskSchedulerConfiguration)
Initialize scheduler viewmodel
Declaration
public TaskSchedulerViewModel(TaskSchedulerConfiguration model)
Parameters
Type | Name | Description |
---|---|---|
TaskSchedulerConfiguration | model | Model instance |
Properties
| Improve this Doc View SourceAppServerName
Gets or sets the application server name
Declaration
public string AppServerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Day
Gets or sets cron "day" settings
Declaration
public string Day { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DayOfWeek
Gets or sets cron "DayOfWeek" settings
Declaration
public string DayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExecutionTimeMode
Gets or sets the execution mode
Declaration
public ExecutionTimeMode ExecutionTimeMode { get; set; }
Property Value
Type | Description |
---|---|
ExecutionTimeMode |
ExecutionTimeModes
Gets a list of available time modes
Declaration
public IList<ExecutionTimeMode> ExecutionTimeModes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ExecutionTimeMode> |
Hour
Gets or sets cron "hour" settings
Declaration
public string Hour { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsActive
Gets or sets whether the job is active
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCronEnabled
Gets whether cron is enabled
Declaration
public bool IsCronEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPrivate
Gets or sets whether the scheduler is private
Declaration
public bool IsPrivate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSecondsEnabled
Gets whether seconds are enabled
Declaration
public bool IsSecondsEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MachineName
Gets or sets the current machine name
Declaration
public string MachineName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Minute
Gets or sets cron "minute" settings
Declaration
public string Minute { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Model
Gets the model instance
Declaration
public TaskSchedulerConfiguration Model { get; }
Property Value
Type | Description |
---|---|
TaskSchedulerConfiguration |
Month
Gets or sets cron "month" settings
Declaration
public string Month { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Seconds
Gets or sets the recurring seconds
Declaration
public int Seconds { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |