View Source
Interface IUmbracoContextAccessor
Provides access to a TryGetUmbracoContext bool method that will return true if the "current" IUmbracoContext is not null.
Provides a Clear() method that will clear the current IUmbracoContext object.
Provides a Set() method that til set the current IUmbracoContext object.
Assembly: Umbraco.Core.dll
Syntax
public interface IUmbracoContextAccessor
Methods
View Source
Clear()
Declaration
View Source
Set(IUmbracoContext)
Declaration
void Set(IUmbracoContext umbracoContext)
Parameters
View Source
TryGetUmbracoContext(out IUmbracoContext)
Declaration
bool TryGetUmbracoContext(out IUmbracoContext umbracoContext)
Parameters
Returns
Type |
Description |
System.Boolean |
|