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
endpointIEndpointmgmtContextIManagementOptions
Returns
IsEnabled(IEndpointOptions, IManagementOptions)
public static bool IsEnabled(this IEndpointOptions options, IManagementOptions mgmtOptions)
Parameters
optionsIEndpointOptionsmgmtOptionsIManagementOptions
Returns
IsExposed(IEndpoint, IManagementOptions)
public static bool IsExposed(this IEndpoint endpoint, IManagementOptions mgmtContext)
Parameters
endpointIEndpointmgmtContextIManagementOptions
Returns
IsExposed(IEndpointOptions, IManagementOptions)
public static bool IsExposed(this IEndpointOptions options, IManagementOptions mgmtOptions)
Parameters
optionsIEndpointOptionsmgmtOptionsIManagementOptions
Returns
OptionsForContext(IEnumerable<IManagementOptions>, string, ILogger)
public static IManagementOptions OptionsForContext(this IEnumerable<IManagementOptions> mgmtOptions, string requestPath, ILogger logger = null)
Parameters
mgmtOptionsIEnumerable<IManagementOptions>requestPathstringloggerILogger
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
endpointIEndpointhttpMethodstringrequestPathstringallowedMethodsIEnumerable<HttpMethod>mgmtOptionsIEnumerable<IManagementOptions>exactMatchbool