Exemplo n.º 1
0
 public static void OnInitialized(IServiceProvider serviceProvider)
 {
     WampRouterFacade.RegisterCallee(new ConsoleSearchRpcService(
                                         serviceProvider.GetService <ISearchProvider>(),
                                         serviceProvider.GetServices <ISearchDocumentSourceProvider>()));
 }
Exemplo n.º 2
0
 public static void OnInitialized()
 {
     WampRouterFacade.RegisterCallee(new PageStructureRpc());
 }
Exemplo n.º 3
0
 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));
 }