60 references to From
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
152HeaderNames.From,
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
116StringValues From { get => this[HeaderNames.From]; set => this[HeaderNames.From] = value; }
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
434HeaderNames.From,
Microsoft.AspNetCore.OutputCaching.Tests (5)
OutputCacheTests.cs (5)
307var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From); 329options.AddBasePolicy(b => b.SetVaryByHeader(HeaderNames.From).Build()); 699context.Response.Headers.Vary = HeaderNames.From; 748context.Response.Headers.Vary = HeaderNames.From; 865var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From);
Microsoft.AspNetCore.ResponseCaching.Tests (5)
ResponseCachingTests.cs (5)
269var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From); 292var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From); 645context.Response.Headers.Vary = HeaderNames.From; 698context.Response.Headers.Vary = HeaderNames.From; 822var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From);
Microsoft.AspNetCore.Server.HttpSys (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 2279yield return HeaderNames.From; 2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From); 2769HttpSysRequestHeader.From => HeaderNames.From,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestHeaderTests.cs (1)
312yield return (HttpSysRequestHeader.From, HeaderNames.From);
Microsoft.AspNetCore.Server.HttpSys.Tests (4)
RequestHeaderTests.cs (4)
309requestHeaders[HeaderNames.From] = "FromValue"; 349Assert.DoesNotContain(HeaderNames.From, requestHeaders.Keys); 351requestHeaders[HeaderNames.From] = "FromValue"; 353Assert.Contains(HeaderNames.From, requestHeaders.Keys);
Microsoft.AspNetCore.Server.IIS (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 2279yield return HeaderNames.From; 2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From); 2769HttpSysRequestHeader.From => HeaderNames.From,
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\HttpHeaders.Generated.cs (19)
321HeaderNames.From, 2660if (ReferenceEquals(HeaderNames.From, key)) 2688if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase)) 3651if (ReferenceEquals(HeaderNames.From, key)) 3670if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase)) 4382if (ReferenceEquals(HeaderNames.From, key)) 4413if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase)) 5489if (ReferenceEquals(HeaderNames.From, key)) 5520if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase)) 7235array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.From, _headers._From); 7558nameStr = HeaderNames.From; 8024nameStr = HeaderNames.From; 8519_current = new KeyValuePair<string, StringValues>(HeaderNames.From, _collection._headers._From); 10178if (!TryGetUnknown(HeaderNames.From, ref value)) 10187ValidateHeaderValueCharacters(HeaderNames.From, value, EncodingSelector); 10188SetValueUnknown(HeaderNames.From, value); 16235if (!TryGetUnknown(HeaderNames.From, ref value)) 16244ValidateHeaderValueCharacters(HeaderNames.From, value, EncodingSelector); 16245SetValueUnknown(HeaderNames.From, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
152HeaderNames.From,
Microsoft.AspNetCore.Shared.Tests (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase)) 1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal)) 2279yield return HeaderNames.From; 2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From); 2769HttpSysRequestHeader.From => HeaderNames.From,