public void Install(int siteRootNodeId, StoreReadOnly store)
        {
            var installPipeline = new InstallPipeline();

            installPipeline.Process(new InstallPipelineContext
            {
                SiteRootNodeId = siteRootNodeId,
                Store          = store
            });
        }
Beispiel #2
0
        public void Install(int siteRootNodeId, StoreReadOnly store)
        {
            var result = PipelineRunner.Invoke <InstallPipeline, InstallPipelineContext>(new InstallPipelineContext
            {
                SiteRootNodeId = siteRootNodeId,
                Store          = store
            });

            if (!result.Success)
            {
                throw result.Exception;
            }
        }