Show / Hide Table of Contents

Interface IScriptManager

A collection of common methods used by the implementations.

Namespace: ivrToolkit.Core.Interfaces
Assembly: ivrToolkit.Core.dll
Syntax
public interface IScriptManager

Properties

| Edit this page View Source

NextScript

The next script block to be executed.

Declaration
IScript NextScript { get; set; }
Property Value
Type Description
IScript

Methods

| Edit this page View Source

Execute()

Executes the next script block. Used with HasNext()

Declaration
void Execute()
| Edit this page View Source

ExecuteAsync(CancellationToken)

Asynchronously executes the next script block. Used with HasNext()

Declaration
Task ExecuteAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
| Edit this page View Source

ExecuteScriptAsync(CancellationToken)

Asynchronously executes all the script blocks.

Declaration
Task ExecuteScriptAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task
| Edit this page View Source

HasNext()

Checks to see if there is another script block to execute.

Declaration
bool HasNext()
Returns
Type Description
bool

Returns the next script block to execute or null if there are no more.

Extension Methods

ValidationExtensions.ThrowIfNull<T>(T, string)
  • View Source
In this article
Back to top Generated by DocFX