RecurrenceTask Class

Main class to manage recurrence

Definition

Namespace: Aliquo.Core.Recurrence
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
[SerializableAttribute]
public class RecurrenceTask : BindableCore
Inheritance
Object    BindableCore    RecurrenceTask

Constructors

RecurrenceTask Main class to manage recurrence

Properties

EndDate Sets the last date to execute the task
EndTime Sets the last time to execute the task
ExecutionsNumber Counter for executions
IntervalTime Sets the minutes to execute the tasks in a day
LastExecutionUTC Date for last execution of the task in UTC
RecurrencePattern Sets the pattern to use


RecurrenceDaily: Allows to execute tasks within a daily interval

RecurrenceWeekly: Allows to execute tasks within a weekly interval

RecurrenceMonthly: Allows to execute tasks within a monthly interval

RecurrenceYearly: Allows to execute tasks within a yearly interval

StartDate Sets the first date to execute the task
StartTime Sets the time to start executing the task
TimeZone Timezone object selected by user
TimeZoneId Time zone id. Used to save in database
UntilExecutionsNumber Sets the maximun number of executions for the task

Methods

DeserializeFromJson Returns recurrence task deserialized from JSON
GetNextExecutionUTC Finds the next date to execute the task
GetNextExecutionUTC(DateTime) Finds the next date to execute the task
PatternToChar Returns a character to identify the pattern
SerializeToJson Returns recurrence task serialized as JSON

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also