Skip to content

Interface IHookResult

Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll

The runtime contract every hook result satisfies so dispatch can apply the abstain/fallthrough rule without reflecting on the concrete type: Success == false means “abstain, fall through to the next matching registration”. The DotBoxD generator adds this interface to every DotBoxD.Abstractions.HookResultAttribute record (its Success field implements the member), so authors never write it by hand.

public interface IHookResult
bool Success { get; }

bool