Table of Contents

Interface IRuntimeContextService

Namespace
DCR.Workflow
Assembly
DCR.Workflow.dll

Generic service providing context and secrets to the DCR Runtime

public interface IRuntimeContextService
Extension Methods

Remarks

Integration of the DCR Runtime in a host system usually happens in a context: An activity is executed by a particular user, in a particular case. That context may include secrets: The particular user has access (via effects) to remote services, but needs to authenticate with some secrets.

Both context and secrets can be provided to the various Runtime methods as parameters. However, you may wish to provide them instead via services.

Properties

Context

Dictionary<string, string> Context { get; }

Property Value

Dictionary<string, string>

Secrets

Dictionary<string, string> Secrets { get; }

Property Value

Dictionary<string, string>