Ejemplo n.º 1
0
 public void Process(PipelineArgs args)
 {
     Assert.ArgumentNotNull(args, "args");
     Task.Run(() =>
     {
         try
         {
             if (DisableItemGeneration?.ToLower() != "true")
             {
                 EnsureDesktopButton();
             }
             if (Factory.GetDatabase("master", false) != null)
             {
                 ScsMainRegistration maintmp = new ScsMainRegistration("", "", "");
                 _registration.RegisterSidekick(maintmp);
                 _registration.RegisterSidekick(maintmp.Controller, maintmp);
                 var pipeline = CorePipelineFactory.GetPipeline("scsRegister", string.Empty);
                 pipeline.Run(new PipelineArgs());
                 RegisterRoutes("scs");
             }
         }catch (Exception e)
         {
             Log.Error("Problem initializing Sidekick.", e, this);
         }
     });
 }
Ejemplo n.º 2
0
 public void Process(PipelineArgs args)
 {
     Assert.ArgumentNotNull(args, "args");
     EnsureDesktopButton();
     if (Factory.GetDatabase("master", false) != null)
     {
         ScsMainRegistration maintmp = new ScsMainRegistration("", "", "");
         _registration.RegisterSidekick(maintmp);
         _registration.RegisterSidekick(maintmp.Controller, maintmp);
         var pipeline = CorePipelineFactory.GetPipeline("scsRegister", string.Empty);
         pipeline.Run(new PipelineArgs());
         RegisterRoutes("scs");
     }
 }
Ejemplo n.º 3
0
 public virtual void Process(PipelineArgs args)
 {
     _scsRegistrationService.RegisterSidekick(this);
     _scsRegistrationService.RegisterSidekick(Controller, this);
 }
Ejemplo n.º 4
0
 public virtual void Process(PipelineArgs args)
 {
     Registration.RegisterSidekick(this);
     Registration.RegisterSidekick(Controller, this);
 }