Table of Contents

Namespace PatternKit.Generators.Template

Classes

TemplateAttribute

Marks a partial type as a template method workflow host. The generator will produce Execute/ExecuteAsync methods that invoke steps and hooks in deterministic order.

TemplateHookAttribute

Marks a method as a hook in the template method workflow. Hooks execute at specific lifecycle points (BeforeAll, AfterAll, OnError).

TemplateStepAttribute

Marks a method as a step in the template method workflow. Steps execute in ascending order.

Enums

HookPoint

Defines the lifecycle points where hooks can be invoked in a template method workflow.

TemplateErrorPolicy

Defines how errors are handled during template method execution.