Interface IHook
Interface representing any hook in the system.
Namespace: DirectScale.Disco.Extension.Hooks
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IHook
Properties
Id
The Id of the hook
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
IsDelegateHooked
True if this hook is in use using the delegate assignment.
Declaration
bool IsDelegateHooked { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDeprecated
Declaration
bool IsDeprecated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInterfaceHooked
True if this hook is in use using service registration.
Declaration
bool IsInterfaceHooked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RequestType
The type of the Request object used in this hook.
Declaration
Type RequestType { get; }
Property Value
Type | Description |
---|---|
System.Type |
ResponseType
The type of the Response object used in this hook.
Declaration
Type ResponseType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
GetInterfaceType()
The type of the generic IHook interface for this hook.
Declaration
Type GetInterfaceType()
Returns
Type | Description |
---|---|
System.Type |