Method | Description | |
---|---|---|
ApiContext ( ) : IApiContext | ||
ContentLinkContext ( ) : IContentFolderLinkContext | ||
DbContextScope ( ILocalCache cache, Func |
||
Dispose ( ) : void | ||
GameContext ( ) : IGameContext | ||
SaveChanges ( ) : void | ||
SaveChangesAsync ( ) : System.Threading.Tasks.Task | ||
SettingsContext ( ) : ISettingsStorage |
Method | Description | |
---|---|---|
GetAmbientScope ( ) : |
Get the current ambient scope or null if no ambient scope has been setup.
|
|
GetIdentifier ( ) : object | ||
HideAmbientScope ( ) : void |
Clears the ambient scope from the CallContext but keeps tracking its instance. Call this to temporarily hide the ambient context (e.g. to prevent it from being captured by parallel task).
|
|
RemoveAmbientScope ( ) : void |
Clears the ambient scope from the CallContext and stops tracking its instance. Call this when a DbContextScope is being disposed.
|
|
SetAmbientScope ( |
Makes the provided 'dbContextScope' available as the the ambient scope via the CallContext.
|
|
SetId ( object id ) : void |
public ContentLinkContext ( ) : IContentFolderLinkContext | ||
return | IContentFolderLinkContext |
public DbContextScope ( ILocalCache cache, Func |
||
cache | ILocalCache | |
apiContextCreator | Func |
|
settingsStorage | ISettingsStorage | |
return | System |
public SaveChangesAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public SettingsContext ( ) : ISettingsStorage | ||
return | ISettingsStorage |