C# Class Sitecore.FakeDb.Sites.FakeSiteContextSwitcher

Switches The Site Context and sync context with Factory.Sites
Inheritance: SiteContextSwitcher
Show file Open project: sergeyshushlyapin/Sitecore.FakeDb

Public Methods

Method Description
Dispose ( ) : void
FakeSiteContextSwitcher ( SiteContext site ) : System

Private Methods

Method Description
AddOnlyNew ( List currentSites, IEnumerable update ) : void
ToDictionary ( NameValueCollection col ) : string>.IDictionary

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FakeSiteContextSwitcher() public method

public FakeSiteContextSwitcher ( SiteContext site ) : System
site SiteContext
return System