Show / Hide Table of Contents

Interface ICronExpressionMonthBuilder

Предоставляет набор методов для определения времени свершения событий в части месяца.

Namespace:InfinniPlatform.Scheduler
Assembly:InfinniPlatform.Scheduler.Abstractions.dll
Syntax
public interface ICronExpressionMonthBuilder

Methods

| Improve this Doc View Source

Each(Month)

Каждый указанный месяц.

Declaration
ICronExpressionMonthBuilder Each(Month month)
Parameters
Type Name Description
Month month

Месяц.

Returns
Type Description
ICronExpressionMonthBuilder
Remarks

В CRON-выражении 'M', где M - месяц month от 1 (январь) до 12 (декабрь). Если значение month равно January, то событие должно происходить каждый январь.

| Improve this Doc View Source

Each(Month, Int32)

Каждый указанный месяц и через заданный интервал после него.

Declaration
ICronExpressionMonthBuilder Each(Month month, int interval)
Parameters
Type Name Description
Month month

Месяц.

System.Int32 interval

Интервал в месяцах.

Returns
Type Description
ICronExpressionMonthBuilder
Remarks

В CRON-выражении 'M/I', где M - месяц month от 1 (январь) до 12 (декабрь), I - интервал в месяцах interval. Если значение month равно January, а значение interval равно 3, то событие должно происходить в январе, апреле, июле и и октябре.

| Improve this Doc View Source

EachOfRange(Month, Month)

Каждый месяц из указанного диапазона.

Declaration
ICronExpressionMonthBuilder EachOfRange(Month monthFrom, Month monthTo)
Parameters
Type Name Description
Month monthFrom

Начало диапазона месяцев.

Month monthTo

Конец диапазона месяцев.

Returns
Type Description
ICronExpressionMonthBuilder
Remarks

В CRON-выражении 'M1-M2', где M1 и M2 - соответственно начало monthFrom и конец monthTo диапазона месяцев. Если значение monthFrom равно January, а значение monthTo равно March, то событие должно происходить в январе, феврале и марте.

| Improve this Doc View Source

EachOfSet(Month[])

Каждый месяц из указанного списка.

Declaration
ICronExpressionMonthBuilder EachOfSet(params Month[] months)
Parameters
Type Name Description
Month[] months

Список месяцев.

Returns
Type Description
ICronExpressionMonthBuilder
Remarks

В CRON-выражении 'M1,M2,M3,...,Mm', где M1, M2, M3, ..., Mn - месяцы списка months. Если значение months представлено массивом new[] { Month.January, Month.February, Month.March }, то событие должно происходить в январе, феврале и марте.

| Improve this Doc View Source

Every()

Каждый месяц.

Declaration
ICronExpressionMonthBuilder Every()
Returns
Type Description
ICronExpressionMonthBuilder
Remarks

В CRON-выражении '*'.

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.