namespace Microsoft.AspNetCore.Mvc {
public sealed class AcceptVerbsAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider {
public string Route { get; set; }
}
public class ApiBehaviorOptions : IEnumerable, IEnumerable<ICompatibilitySwitch> {
+ public bool DisableImplicitFromServicesParameters { get; set; }
}
public abstract class ControllerBase {
+ public static EmptyResult Empty { get; }
public virtual Task<bool> TryUpdateModelAsync(object model, Type modelType, string prefix);
public virtual Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix) where TModel : class;
- public Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix, IValueProvider valueProvider, params Expression<Func<TModel, object>>[] includeExpressions) where TModel : class;
+ public Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix, IValueProvider valueProvider, params Expression<Func<TModel, object?>>[] includeExpressions) where TModel : class;
public Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix, Func<ModelMetadata, bool> propertyFilter) where TModel : class;
- public Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix, params Expression<Func<TModel, object>>[] includeExpressions) where TModel : class;
+ public Task<bool> TryUpdateModelAsync<TModel>(TModel model, string prefix, params Expression<Func<TModel, object?>>[] includeExpressions) where TModel : class;
public virtual ActionResult ValidationProblem();
public virtual ActionResult ValidationProblem(ModelStateDictionary modelStateDictionary);
public virtual ActionResult ValidationProblem(ValidationProblemDetails descriptor);
public virtual ActionResult ValidationProblem(string? detail = null, string? instance = null, int? statusCode = default(int?), string? title = null, string? type = null, ModelStateDictionary? modelStateDictionary = null);
}
- public class DisableRequestSizeLimitAttribute : Attribute, IFilterFactory, IFilterMetadata, IOrderedFilter {
+ public class DisableRequestSizeLimitAttribute : Attribute, IFilterFactory, IFilterMetadata, IOrderedFilter, IRequestSizeLimitMetadata {
+ long? Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata.MaxRequestBodySize { get; }
}
- public class FromFormAttribute : Attribute, IBindingSourceMetadata, IModelNameProvider
+ public class FromFormAttribute : Attribute, IBindingSourceMetadata, IFromFormMetadata, IModelNameProvider
public class FromServicesAttribute : Attribute, IBindingSourceMetadata, IFromServiceMetadata
public class HttpDeleteAttribute : HttpMethodAttribute {
public HttpDeleteAttribute(string template);
}
public class HttpGetAttribute : HttpMethodAttribute {
public HttpGetAttribute(string template);
}
public class HttpHeadAttribute : HttpMethodAttribute {
public HttpHeadAttribute(string template);
}
public class HttpOptionsAttribute : HttpMethodAttribute {
public HttpOptionsAttribute(string template);
}
public class HttpPatchAttribute : HttpMethodAttribute {
public HttpPatchAttribute(string template);
}
public class HttpPostAttribute : HttpMethodAttribute {
public HttpPostAttribute(string template);
}
public class HttpPutAttribute : HttpMethodAttribute {
public HttpPutAttribute(string template);
}
- public class RequestSizeLimitAttribute : Attribute, IFilterFactory, IFilterMetadata, IOrderedFilter {
+ public class RequestSizeLimitAttribute : Attribute, IFilterFactory, IFilterMetadata, IOrderedFilter, IRequestSizeLimitMetadata {
+ long? Microsoft.AspNetCore.Http.Metadata.IRequestSizeLimitMetadata.MaxRequestBodySize { get; }
}
public class RouteAttribute : Attribute, IRouteTemplateProvider {
public RouteAttribute(string template);
public string Template { get; }
}
- public class SkipStatusCodePagesAttribute : Attribute, IFilterMetadata, IResourceFilter
+ public class SkipStatusCodePagesAttribute : Attribute, IFilterMetadata, IResourceFilter, ISkipStatusCodePagesMetadata
}