public static RequestBodyType GetRequestContentKind(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IRequestContentKindProvider, RequestBodyType>(x => x.GetKind(), RequestBodyType.Auto);
public static string GetStringFormat(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IStringFormatProvider, string>(x => x.Format);
public static string GetParameterPrefix(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IRestNamePrefixProvider, string>(x => x.Prefix);
public static string GetContentCharSet(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IContentCharSetProvider, string>(x => x.CharSet);
public static string GetContentFileName(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IContentFileNameProvider, string>(x => x.FileName);
public static MimeType GetContentMediaType(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IContentMediaTypeProvider, MimeType>(x => x.MediaType);
public static bool GetIsRequired(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IIsRequiredProvider, bool>(x => x.IsRequired, false);
public static string GetParameterName(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IParameterNameProvider, string>(x => x.Name);
public static BindingPath GetBindingPath(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IBindingPathProvider, BindingPath>(x => x.BindingPath) ?? BindingPath.Empty;
public static string GetRequestRoute(this MetadataValueProvider valueProvider) => valueProvider.GetValue <IRequestRouteProvider, string>(x => x.Route);