Show / Hide Table of Contents

Interface IJobInfoBuilder

Предоставляет методы для создания информации о задании.

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

Methods

| Improve this Doc View Source

CronExpression(String)

Устанавливает CRON-выражение планирования задания.

Declaration
IJobInfoBuilder CronExpression(string cronExpression)
Parameters
Type Name Description
System.String cronExpression
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

Data(DynamicDocument)

Устанавливает данные для выполнения задания.

Declaration
IJobInfoBuilder Data(DynamicDocument data)
Parameters
Type Name Description
DynamicDocument data
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

Description(String)

Устанавливает описание назначения задания.

Declaration
IJobInfoBuilder Description(string description)
Parameters
Type Name Description
System.String description
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

EndTimeUtc(Nullable<DateTimeOffset>)

Устанавливает время окончания планирования задания.

Declaration
IJobInfoBuilder EndTimeUtc(DateTimeOffset? endTimeUtc)
Parameters
Type Name Description
System.Nullable<DateTimeOffset> endTimeUtc
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

MisfirePolicy(JobMisfirePolicy)

Устанавливает политику обработки пропущенных срабатываний задания.

Declaration
IJobInfoBuilder MisfirePolicy(JobMisfirePolicy misfirePolicy)
Parameters
Type Name Description
JobMisfirePolicy misfirePolicy
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

StartTimeUtc(Nullable<DateTimeOffset>)

Устанавливает время начала планирования задания.

Declaration
IJobInfoBuilder StartTimeUtc(DateTimeOffset? startTimeUtc)
Parameters
Type Name Description
System.Nullable<DateTimeOffset> startTimeUtc
Returns
Type Description
IJobInfoBuilder
| Improve this Doc View Source

State(JobState)

Устанавливает состояние выполнения задания.

Declaration
IJobInfoBuilder State(JobState state)
Parameters
Type Name Description
JobState state
Returns
Type Description
IJobInfoBuilder

Extension Methods

CronExpressionBuilderExtensions.CronExpression(IJobInfoBuilder, Action<ICronExpressionBuilder>)
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.