Méthode | Description | |
---|---|---|
ApiContext ( ) : IApiContext | ||
ContentLinkContext ( ) : IContentFolderLinkContext | ||
DbContextScope ( ILocalCache cache, Func |
||
Dispose ( ) : void | ||
GameContext ( ) : IGameContext | ||
SaveChanges ( ) : void | ||
SaveChangesAsync ( ) : System.Threading.Tasks.Task | ||
SettingsContext ( ) : ISettingsStorage |
Méthode | 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 | ||
Résultat | IContentFolderLinkContext |
public DbContextScope ( ILocalCache cache, Func |
||
cache | ILocalCache | |
apiContextCreator | Func |
|
settingsStorage | ISettingsStorage | |
Résultat | System |
public SaveChangesAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public SettingsContext ( ) : ISettingsStorage | ||
Résultat | ISettingsStorage |