Exemplo n.º 1
0
 public UnicornOperationContext()
 {
     _sd  = new SecurityDisabler();
     _ed  = new EventDisabler();            // events, e.g. indexing, et al. This is what Sitecore's serialization API uses, and it's a superset of BulkUpdateContext
     _fd  = new ItemFilterDisabler();       // disable all item filtering (if we're running in live mode we need this to get unadulterated items)
     _tds = new TransparentSyncDisabler();
 }
		public UnicornOperationContext()
		{
			_sd = new SecurityDisabler();
			_ed = new EventDisabler(); // events, e.g. indexing, et al. This is what Sitecore's serialization API uses, and it's a superset of BulkUpdateContext
			_fd = new ItemFilterDisabler(); // disable all item filtering (if we're running in live mode we need this to get unadulterated items)
			_tds = new TransparentSyncDisabler();
		}