public static bool TryGetParameterKind(this MetadataValueProvider valueProvider, out RequestParameterKind result) => valueProvider.TryGetValue <IParameterDefinition, RequestParameterKind>(x => x.ParameterKind, out result);
public static bool TryGetRequestMethod(this MetadataValueProvider valueProvider, out RequestMethod result) => valueProvider.TryGetValue <IRequestMethodProvider, RequestMethod>(x => x.RequestMethod, out result);