Class WorkflowSignalDefinition
- Namespace
- Temporalio.Workflows
- Assembly
- Temporalio.dll
Definition of a workflow signal.
public class WorkflowSignalDefinition
- Inheritance
-
WorkflowSignalDefinition
- Inherited Members
Properties
Name
Gets the signal name.
public string Name { get; }
Property Value
Methods
CreateWithoutAttribute(string, Delegate)
Creates a signal definition from an explicit name and method. Most users should use FromMethod(MethodInfo) with attributes instead.
public static WorkflowSignalDefinition CreateWithoutAttribute(string name, Delegate del)
Parameters
Returns
- WorkflowSignalDefinition
Signal definition.
FromMethod(MethodInfo)
Get a signal definition from a method or fail. The result is cached.
public static WorkflowSignalDefinition FromMethod(MethodInfo method)
Parameters
method
MethodInfoSignal method.
Returns
- WorkflowSignalDefinition
Signal definition.