Exemplo n.º 1
0
 public void ActivateModule()
 {
     using (new UnrestrictedModeRegion())
     {
         ServerOperations.StaticModules().ActivateModule(FeatherModuleName);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Uninstalls Feather.
 /// </summary>
 public void UninstallFeather()
 {
     using (new UnrestrictedModeRegion())
     {
         var module = this.GetFeatherModule;
         ServerOperations.StaticModules().ExecuteStaticModuleOperation(module, ModuleOperationProxy.Uninstall);
     }
 }
Exemplo n.º 3
0
 public void TearDown()
 {
     ServerOperations.Pages().DeleteAllPages();
     ServerOperations.ContentBlocks().DeleteAllContentBlocks();
     using (new UnrestrictedModeRegion())
     {
         ServerOperations.StaticModules().ActivateModule(FeatherModuleName);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Installs Feather.
 /// </summary>
 public void InstallFeather()
 {
     using (new UnrestrictedModeRegion())
     {
         var module = this.GetFeatherModule;
         module.StartupType = StartupType.OnApplicationStart;
         ServerOperations.StaticModules().ExecuteStaticModuleOperation(module, ModuleOperationProxy.Install);
     }
 }
 public void TearDown()
 {
     ServerOperations.Pages().DeleteAllPages();
     ServerOperations.News().DeleteAllNews();
     ServerOperations.StaticModules().ActivateModule(ModuleName);
 }
 public void ActivateNewsModule()
 {
     ServerOperations.StaticModules().ActivateModule(ModuleName);
 }
 public void TearDown()
 {
     ServerOperations.Pages().DeletePage(PageName);
     ServerOperations.Forms().DeleteAllForms();
     ServerOperations.StaticModules().ActivateModule(FeatherModuleName);
 }
 public void ActivateModule()
 {
     ServerOperations.StaticModules().ActivateModule(FeatherModuleName);
 }
Exemplo n.º 9
0
 public void TearDown()
 {
     ServerOperations.Pages().DeleteAllPages();
     ServerOperations.ContentBlocks().DeleteAllContentBlocks();
     ServerOperations.StaticModules().ActivateModule(FeatherModuleName);
 }
 public void ActivateModule()
 {
     ServerOperations.StaticModules().ActivateModule(ContentBlockModuleName);
 }
Exemplo n.º 11
0
 public void TearDown()
 {
     ServerOperations.StaticModules().ActivateModule(ModuleName);
 }