protected override IRuntimeEventsHandler OnGetRuntimeEventsHandler(RuntimeEventsHandlerInfo handlerInfo) { return(Instantiate <IRuntimeEventsHandler>(handlerInfo.ClassName)); }
/// <summary> /// Instantiates runtime events handler using provided RuntimeEventsHandlerInfo /// </summary> /// <param name="handlerInfo">Information about the handler to construct</param> public IRuntimeEventsHandler GetRuntimeEventsHandler(RuntimeEventsHandlerInfo handlerInfo) { Logger.TraceFormat("GetRuntimeEventsHandler for {info}", handlerInfo); return(OnGetRuntimeEventsHandler(handlerInfo)); }
protected abstract IRuntimeEventsHandler OnGetRuntimeEventsHandler(RuntimeEventsHandlerInfo handlerInfo);
/// <summary> /// Instantiates runtime events handler using provided RuntimeEventsHandlerInfo /// </summary> /// <param name="handlerInfo">Information about the handler to construct</param> /// <returns>IRuntimeEventsHandler.</returns> public IRuntimeEventsHandler GetRuntimeEventsHandler(RuntimeEventsHandlerInfo handlerInfo) { Logger.TraceFormat("GetRuntimeEventsHandler for {info}", handlerInfo); return(Instantiate <IRuntimeEventsHandler>(handlerInfo.ClassName)); }