Class EndPointExtensions
- Namespace
- Steeltoe.Management.Endpoint
- Assembly
- Steeltoe.Management.EndpointBase.dll
public static class EndPointExtensions
- Inheritance
-
EndPointExtensions
- Inherited Members
Methods
IsEnabled(IEndpoint, IManagementOptions)
public static bool IsEnabled(this IEndpoint endpoint, IManagementOptions mgmtContext)
Parameters
endpoint
IEndpointmgmtContext
IManagementOptions
Returns
IsEnabled(IEndpointOptions, IManagementOptions)
public static bool IsEnabled(this IEndpointOptions options, IManagementOptions mgmtOptions)
Parameters
options
IEndpointOptionsmgmtOptions
IManagementOptions
Returns
IsExposed(IEndpoint, IManagementOptions)
public static bool IsExposed(this IEndpoint endpoint, IManagementOptions mgmtContext)
Parameters
endpoint
IEndpointmgmtContext
IManagementOptions
Returns
IsExposed(IEndpointOptions, IManagementOptions)
public static bool IsExposed(this IEndpointOptions options, IManagementOptions mgmtOptions)
Parameters
options
IEndpointOptionsmgmtOptions
IManagementOptions
Returns
OptionsForContext(IEnumerable<IManagementOptions>, string, ILogger)
public static IManagementOptions OptionsForContext(this IEnumerable<IManagementOptions> mgmtOptions, string requestPath, ILogger logger = null)
Parameters
mgmtOptions
IEnumerable<IManagementOptions>requestPath
stringlogger
ILogger
Returns
RequestVerbAndPathMatch(IEndpoint, string, string, IEnumerable<HttpMethod>, IEnumerable<IManagementOptions>, bool)
public static bool RequestVerbAndPathMatch(this IEndpoint endpoint, string httpMethod, string requestPath, IEnumerable<HttpMethod> allowedMethods, IEnumerable<IManagementOptions> mgmtOptions, bool exactMatch)
Parameters
endpoint
IEndpointhttpMethod
stringrequestPath
stringallowedMethods
IEnumerable<HttpMethod>mgmtOptions
IEnumerable<IManagementOptions>exactMatch
bool