Class EndpointServiceCollectionExtensions
public static class EndpointServiceCollectionExtensions
- Inheritance
-
EndpointServiceCollectionExtensions
- Inherited Members
Methods
AddTheEndpoint(IServiceCollection, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionconfigureAction<RPCOptions>
Returns
AddTheEndpoint(IServiceCollection, Func<IServiceProvider, IAuthentication>, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, Func<IServiceProvider, IAuthentication> getAuthentication, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectiongetAuthenticationFunc<IServiceProvider, IAuthentication>configureAction<RPCOptions>
Returns
AddTheEndpoint(IServiceCollection, string, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, string sharedSecret, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionsharedSecretstringconfigureAction<RPCOptions>
Returns
AddTheEndpoint(IServiceCollection, IAuthentication, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, IAuthentication authentication, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionauthenticationIAuthenticationconfigureAction<RPCOptions>
Returns
AddTheEndpointCore(IServiceCollection, Action<RPCOptions>?, Func<IServiceProvider, RPCOptions, IEndpoint>)
public static IServiceCollection AddTheEndpointCore(this IServiceCollection source, Action<RPCOptions>? configure, Func<IServiceProvider, RPCOptions, IEndpoint> provide)
Parameters
sourceIServiceCollectionconfigureAction<RPCOptions>provideFunc<IServiceProvider, RPCOptions, IEndpoint>
Returns
AddTheEndpointCore(IServiceCollection, Func<IServiceProvider, IEndpoint>)
public static IServiceCollection AddTheEndpointCore(this IServiceCollection source, Func<IServiceProvider, IEndpoint> provide)
Parameters
sourceIServiceCollectionprovideFunc<IServiceProvider, IEndpoint>
Returns
AddTheNamedEndpoint(IServiceCollection, string, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionnamestringconfigureAction<RPCOptions>
Returns
AddTheNamedEndpoint(IServiceCollection, string, Func<IServiceProvider, object?, IAuthentication>, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, Func<IServiceProvider, object?, IAuthentication> getAuthentication, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionnamestringgetAuthenticationFunc<IServiceProvider, object, IAuthentication>configureAction<RPCOptions>
Returns
AddTheNamedEndpoint(IServiceCollection, string, string, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, string sharedSecret, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionnamestringsharedSecretstringconfigureAction<RPCOptions>
Returns
AddTheNamedEndpoint(IServiceCollection, string, IAuthentication, Action<RPCOptions>?)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, IAuthentication authentication, Action<RPCOptions>? configure = null)
Parameters
sourceIServiceCollectionnamestringauthenticationIAuthenticationconfigureAction<RPCOptions>
Returns
AddTheNamedEndpointCore(IServiceCollection, string, Action<RPCOptions>?, Func<IServiceProvider, object?, RPCOptions, IEndpoint>)
public static IServiceCollection AddTheNamedEndpointCore(this IServiceCollection source, string name, Action<RPCOptions>? configure, Func<IServiceProvider, object?, RPCOptions, IEndpoint> provide)
Parameters
sourceIServiceCollectionnamestringconfigureAction<RPCOptions>provideFunc<IServiceProvider, object, RPCOptions, IEndpoint>
Returns
AddTheNamedEndpointCore(IServiceCollection, string, Func<IServiceProvider, object?, IEndpoint>)
public static IServiceCollection AddTheNamedEndpointCore(this IServiceCollection source, string name, Func<IServiceProvider, object?, IEndpoint> provide)
Parameters
sourceIServiceCollectionnamestringprovideFunc<IServiceProvider, object, IEndpoint>