ScopeStorage
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public static class ScopeStorage
Properties
CurrentProvider
View Source
Declaration
public static IScopeStorageProvider CurrentProvider { get; set; }
CurrentScope
View Source
Declaration
public static IDictionary<object, object> CurrentScope { get; }
GlobalScope
View Source
Declaration
public static IDictionary<object, object> GlobalScope { get; }
Methods
CreateTransientScope(IDictionary<Object, Object>)
View Source
Declaration
public static IDisposable CreateTransientScope(IDictionary<object, object> context)
Returns
System.IDisposable
Parameters
Type | Name |
---|---|
System.Collections.Generic.IDictionary<System.Object,System.Object> | context |
CreateTransientScope()
View Source
Declaration
public static IDisposable CreateTransientScope()
Returns
System.IDisposable