public EventHandlerContext(byte[] initContext, int initSizeOfContext) // this will be changed with an interface for contexts { command = EventHandlerFunctions.InvalidCommand; coreCommand = CoreKnownFunctions.InvalidCommand; subModuleCommand = SubModuleFunctions.InvalidCommand; contextHandler = new IContext(initContext, initSizeOfContext); }
public EventHandlerContext() { command = EventHandlerFunctions.InvalidCommand; coreCommand = CoreKnownFunctions.InvalidCommand; subModuleCommand = SubModuleFunctions.InvalidCommand; contextHandler = null; }