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