Table of Contents

Class WorkflowInitAttribute

Namespace
Temporalio.Workflows
Assembly
Temporalio.dll

Designates a constructor as receiving the same arguments as the method with WorkflowRunAttribute.

[AttributeUsage(AttributeTargets.Constructor, Inherited = false)]
public sealed class WorkflowInitAttribute : Attribute
Inheritance
WorkflowInitAttribute
Inherited Members

Remarks

This is not inherited, so a constructor wanting workflow arguments must have this attribute on it regardless of base class. Only declared constructors are applied, not base class constructors.