implementation of IMetaService
used to add and retrieve runtime and persistent meta
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Misc
IW4MAdmin.Application.Misc.MetaService[[MetaService]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IMetaService[[IMetaService]]
class SharedLibraryCore.Interfaces.IMetaService interfaceStyle;
end
SharedLibraryCore.Interfaces.IMetaService --> IW4MAdmin.Application.Misc.MetaService
Loading
Returns |
Name |
int |
[`g__indexOfSmallestColumn
|
implementation of IMetaService
used to add and retrieve runtime and persistent meta
Source code
public MetaService(ILogger<MetaService> logger, IDatabaseContextFactory contextFactory)
Source code
public virtual async Task AddPersistentMeta(string metaKey, string metaValue, EFClient client, EFMeta linkedMeta)
Type |
Name |
Description |
string |
metaKey |
|
string |
metaValue |
|
EFClient |
client |
|
EFMeta |
linkedMeta |
|
Source code
public virtual async Task SetPersistentMeta(string metaKey, string metaValue, int clientId)
Type |
Name |
Description |
string |
metaKey |
|
string |
metaValue |
|
int |
clientId |
|
Source code
public virtual async Task IncrementPersistentMeta(string metaKey, int incrementAmount, int clientId)
Type |
Name |
Description |
string |
metaKey |
|
int |
incrementAmount |
|
int |
clientId |
|
Source code
public virtual async Task DecrementPersistentMeta(string metaKey, int decrementAmount, int clientId)
Type |
Name |
Description |
string |
metaKey |
|
int |
decrementAmount |
|
int |
clientId |
|
Source code
public virtual async Task AddPersistentMeta(string metaKey, string metaValue)
Type |
Name |
Description |
string |
metaKey |
|
string |
metaValue |
|
RemovePersistentMeta [1/2]
Source code
public virtual async Task RemovePersistentMeta(string metaKey, EFClient client)
Type |
Name |
Description |
string |
metaKey |
|
EFClient |
client |
|
RemovePersistentMeta [2/2]
Source code
public virtual async Task RemovePersistentMeta(string metaKey, string metaValue)
Type |
Name |
Description |
string |
metaKey |
|
string |
metaValue |
|
Source code
public virtual async Task<EFMeta> GetPersistentMeta(string metaKey, EFClient client)
Type |
Name |
Description |
string |
metaKey |
|
EFClient |
client |
|
Source code
public virtual async Task<IEnumerable<EFMeta>> GetPersistentMeta(string metaKey)
Type |
Name |
Description |
string |
metaKey |
|
Source code
public virtual void AddRuntimeMeta<T, V>(MetaType metaKey, Func<T, Task<IEnumerable<V>>> metaAction)
where T : PaginationRequest
where V : IClientMeta
Type |
Name |
Description |
MetaType |
metaKey |
|
Func <T , Task <IEnumerable <V >>> |
metaAction |
|
Source code
public virtual async Task<IEnumerable<IClientMeta>> GetRuntimeMeta(ClientPaginationRequest request)
Source code
public virtual async Task<IEnumerable<T>> GetRuntimeMeta<T>(ClientPaginationRequest request, MetaType metaType)
where T : IClientMeta
g__indexOfSmallestColumn|16_2
Source code
internal static int <ProcessInformationMeta>g__indexOfSmallestColumn|16_2<T>()
where T : IClientMeta
Generated with ModularDoc