9 overrides of MaxOutputCharactersPerInputCharacter
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
DefaultEditorTemplates.cs (1)
494
public override int
MaxOutputCharactersPerInputCharacter
=> 1;
Microsoft.AspNetCore.Razor (1)
TagHelpers\NullHtmlEncoder.cs (1)
29
public override int
MaxOutputCharactersPerInputCharacter
=> 1;
Microsoft.Extensions.WebEncoders (3)
Testing\HtmlTestEncoder.cs (1)
17
public override int
MaxOutputCharactersPerInputCharacter
Testing\JavaScriptTestEncoder.cs (1)
17
public override int
MaxOutputCharactersPerInputCharacter
Testing\UrlTestEncoder.cs (1)
17
public override int
MaxOutputCharactersPerInputCharacter
System.Text.Encodings.Web (3)
System\Text\Encodings\Web\DefaultHtmlEncoder.cs (1)
27
public override int
MaxOutputCharactersPerInputCharacter
=> 8; // "" is worst case for single char ("" [10 chars] worst case for arbitrary scalar value)
System\Text\Encodings\Web\DefaultJavaScriptEncoder.cs (1)
39
public override int
MaxOutputCharactersPerInputCharacter
=> 6; // "\uXXXX" for a single char ("\uXXXX\uYYYY" [12 chars] for supplementary scalar value)
System\Text\Encodings\Web\DefaultUrlEncoder.cs (1)
102
public override int
MaxOutputCharactersPerInputCharacter
=> 9; // "%XX%YY%ZZ" for a single char ("%XX%YY%ZZ%WW" [12 chars] for supplementary scalar value)
TagHelpersWebSite (1)
TagHelpers\CustomEncoderTagHelper.cs (1)
35
public override int
MaxOutputCharactersPerInputCharacter
=> 1;
2 references to MaxOutputCharactersPerInputCharacter
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\TextEncoder.cs (2)
161
int minBufferBumpEachIteration = Math.Max(
MaxOutputCharactersPerInputCharacter
, EncodeStartingOutputBufferSize);
520
int minBufferBumpEachIteration = Math.Max(
MaxOutputCharactersPerInputCharacter
, EncodeStartingOutputBufferSize);