20 lines
441 B
C#
20 lines
441 B
C#
namespace CommandHook;
|
|
|
|
public struct CommandRegistration
|
|
{
|
|
public readonly string CommandFilter;
|
|
public readonly CommandHookDelegate? Before;
|
|
public readonly CommandHookDelegate? After;
|
|
|
|
public CommandRegistration(
|
|
string commandFilter,
|
|
CommandHookDelegate? before,
|
|
CommandHookDelegate? after
|
|
)
|
|
{
|
|
CommandFilter = commandFilter;
|
|
Before = before;
|
|
After = after;
|
|
}
|
|
}
|