• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alunacjones / LSL.HttpMessageHandlers.Capturing.Dumps / 8

22 Nov 2025 12:07PM UTC coverage: 97.706%. Remained the same
8

push

appveyor

Alun Jones
fix text deserialiser

426 of 436 relevant lines covered (97.71%)

77.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/src/LSL.HttpMessageHandlers.Capturing.Dumps/DefaultObfuscatorOptions.cs
1
using Microsoft.Extensions.DependencyInjection;
2
using Microsoft.Extensions.Options;
3

4
namespace LSL.HttpMessageHandlers.Capturing.Dumps;
5

6
/// <summary>
7
/// Options for the default obfuscator
8
/// </summary>
9
public class DefaultObfuscatorOptions
10
{   
11
    /// <summary>
12
    /// The number of characters from the start of a string to leave un-obfuscated
13
    /// </summary>
14
    /// <remarks>
15
    /// Defaults to 5
16
    /// </remarks>
17
    public int NumberOfCharactersToKeepClear { get; set; } = 5;
115✔
18

19
    /// <summary>
20
    /// The string to use as the obfuscated section.
21
    /// </summary>
22
    /// <remarks>
23
    /// Defaults to `*****`
24
    /// </remarks>
25
    public string ObfuscatingSuffix { get; set; } = "*****";
127✔
26

27
    /// <inheritdoc/>
28
    internal ServiceProviderBasedFactory<IObfuscator> ObfuscatorFactory { get; set; } = sp => ActivatorUtilities.CreateInstance<DefaultObfuscator>(sp, Options.DefaultName);
×
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc