Skip to main content

Enum SyncHookType

Syntax
public enum SyncHookType

Fields

Automatic

Looks for hooks matching the signature, gives compile error if none or more than 1 is found

Declaration
Automatic = 0

MethodWith0Arg

Hook with signature void hookName()

Declaration
MethodWith0Arg = 1

MethodWith1Arg

Hook with signature void hookName(T newValue)

Declaration
MethodWith1Arg = 2

MethodWith2Arg

Hook with signature void hookName(T oldValue, T newValue)

Declaration
MethodWith2Arg = 3

EventWith0Arg

Hook with signature event Action hookName;

Declaration
EventWith0Arg = 4

EventWith1Arg

Hook with signature event Action{T} hookName;

Declaration
EventWith1Arg = 5

EventWith2Arg

Hook with signature event Action{T,T} hookName;

Declaration
EventWith2Arg = 6