public static void OnInitialized(IServiceProvider serviceProvider) { WampRouterFacade.RegisterCallee(new ConsoleSearchRpcService( serviceProvider.GetService <ISearchProvider>(), serviceProvider.GetServices <ISearchDocumentSourceProvider>())); }
public static void OnInitialized() { WampRouterFacade.RegisterCallee(new PageStructureRpc()); }
public static void OnInitialized(KeywordManager keywordManager, KeywordChangeNotifier componentChangeNotifier) { WampRouterFacade.RegisterCallee(new KeywordsRpcService(keywordManager)); WampRouterFacade.RegisterPublisher(new KeywordsPublisher(componentChangeNotifier)); }
public static void OnInitialized(ComponentManager componentManager, ComponentChangeNotifier componentChangeNotifier) { WampRouterFacade.RegisterCallee(new ComponentsRpcService(componentManager)); WampRouterFacade.RegisterPublisher(new ComponentPublisher(componentChangeNotifier)); }