Beispiel #1
0
        public bool CreateService(PluginSpecification definition)
        {
            IService service;

            return(_fallen8.ServiceFactory.TryAddService(out service, definition.PluginType, definition.UniqueId, ServiceHelper.CreatePluginOptions(definition.PluginOptions)));
        }
Beispiel #2
0
        public bool CreateIndex(PluginSpecification definition)
        {
            IIndex result;

            return(_fallen8.IndexFactory.TryCreateIndex(out result, definition.UniqueId, definition.PluginType, ServiceHelper.CreatePluginOptions(definition.PluginOptions)));
        }