1 implementation of Length
Microsoft.AspNetCore.Http (1)
FormFile.cs (1)
60public long Length { get; }
5 references to Length
Microsoft.AspNetCore.Components.Endpoints (1)
FormMapping\BrowserFileFromFormFile.cs (1)
16public long Size => formFile.Length;
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\FormFileModelBinder.cs (1)
148if (file.Length == 0 && string.IsNullOrEmpty(file.FileName))
ModelBinding\FormFileValueProvider.cs (1)
51if (file.Length == 0 && string.IsNullOrEmpty(file.FileName))
RazorPagesWebSite (2)
Pages\PropertyBinding\BindFormFile.cshtml.cs (2)
25if (string.IsNullOrEmpty(Form3.Name) || Form3.Length == 0) 30if (string.IsNullOrEmpty(Forms.Form1.Name) || Forms.Form1.Length == 0)