tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IAuthorityInvoker{TAuthority}.cs
Go to the documentation of this file.
1using System;
2using System.Linq;
3
5
7{
12 public interface IAuthorityInvoker<TAuthority>
13 where TAuthority : IAuthority
14 {
21 IQueryable<TResult> InvokeQueryable<TResult>(Func<TAuthority, IQueryable<TResult>> authorityInvoker);
22
33 where TApiModel : notnull
34 where TTransformer : ITransformer<TResult, TApiModel>, new();
35 }
36}
Business logic for interating with the server.
Definition IAuthority.cs:9
IQueryable< TApiModel > InvokeTransformableQueryable< TResult, TApiModel, TTransformer >(Func< TAuthority, IQueryable< TResult > > authorityInvoker)
Invoke a TAuthority method and get the transformed result.
IQueryable< TResult > InvokeQueryable< TResult >(Func< TAuthority, IQueryable< TResult > > authorityInvoker)
Invoke a TAuthority method and get the result.
Represents a host-side model that may be transformed into a TApiModel .
Contains a transformation Expression for converting TInput s to TOutput s.