Skip to content

iw4madminapplicationmeta ReceivedPenaltyResourceQueryHelper

RaidMax edited this page May 21, 2023 · 1 revision

ReceivedPenaltyResourceQueryHelper Public class

Description

implementation of IResourceQueryHelper used to pull in penalties applied to a given client id

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.Meta
  IW4MAdmin.Application.Meta.ReceivedPenaltyResourceQueryHelper[[ReceivedPenaltyResourceQueryHelper]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IResourceQueryHelper_2[[IResourceQueryHelper< QueryType,ResultType >]]
  class SharedLibraryCore.Interfaces.IResourceQueryHelper_2 interfaceStyle;

  end
SharedLibraryCore.Interfaces.IResourceQueryHelper_2 --> IW4MAdmin.Application.Meta.ReceivedPenaltyResourceQueryHelper
Loading

Members

Methods

Public methods

Returns Name
Task<ResourceQueryHelperResult<ReceivedPenaltyResponse>> QueryResource(ClientPaginationRequest query)

Details

Summary

implementation of IResourceQueryHelper used to pull in penalties applied to a given client id

Inheritance

Constructors

ReceivedPenaltyResourceQueryHelper

Source code

public ReceivedPenaltyResourceQueryHelper(ILogger<ReceivedPenaltyResourceQueryHelper> logger, IDatabaseContextFactory contextFactory, ApplicationConfiguration appConfig)
Arguments
Type Name Description
ILogger<ReceivedPenaltyResourceQueryHelper> logger
IDatabaseContextFactory contextFactory
ApplicationConfiguration appConfig

Methods

QueryResource

public virtual async Task<ResourceQueryHelperResult<ReceivedPenaltyResponse>> QueryResource(ClientPaginationRequest query)
Arguments
Type Name Description
ClientPaginationRequest query

Generated with ModularDoc

Clone this wiki locally