/// <summary> /// Creates a new instance of the RetryInterceptor with specified parameters /// </summary> /// <param name="context">The orchestration context of the function call</param> /// <param name="retryOptions">The options for performing retries</param> /// <param name="retryCall">The code to execute</param> public RetryInterceptor(OrchestrationContext context, RetryOptions retryOptions, Func <Task <T> > retryCall) { this.context = context; this.retryOptions = retryOptions; this.retryCall = retryCall; }
public ScheduleProxy(OrchestrationContext context, Type @interface) : this(context, @interface, false) { }
/// <summary> /// Abstract method for raising an event in the orchestration /// </summary> /// <param name="context">The orchestration context</param> /// <param name="name">Name for this event to be passed to the OnEvent handler</param> /// <param name="input">The serialized input</param> public abstract void RaiseEvent(OrchestrationContext context, string name, string input);
/// <summary> /// Abstract method for executing an orchestration based on the context and serialized input /// </summary> /// <param name="context">The orchestration context</param> /// <param name="input">The serialized input</param> /// <returns>Serialized output from the execution</returns> public abstract Task <string> Execute(OrchestrationContext context, string input);
/// <summary> /// Initializes a new instance of the <see cref="ScheduleProxy"/> class. /// </summary> /// <param name="context">The orchestration context.</param> /// <param name="useFullyQualifiedMethodNames">A flag indicating whether to use fully qualified method names.</param> public ScheduleProxy(OrchestrationContext context, bool useFullyQualifiedMethodNames) { this.context = context; this.useFullyQualifiedMethodNames = useFullyQualifiedMethodNames; }
/// <summary> /// Initializes a new instance of the <see cref="ScheduleProxy"/> class. /// </summary> /// <param name="context">The orchestration context.</param> public ScheduleProxy(OrchestrationContext context) : this(context, false) { }