17 references to Throw
Microsoft.Extensions.Compliance.Redaction (17)
HmacRedactor.cs (2)
45var value = Throw.IfMemberNull(options, options?.Value); 73Throw.IfBufferTooSmall(destination.Length, length, nameof(destination));
RedactionBuilder.cs (2)
27Services = Throw.IfNull(services); 36_ = Throw.IfNull(classifications);
RedactionExtensions.cs (6)
27_ = Throw.IfNull(builder); 28_ = Throw.IfNull(configure); 29_ = Throw.IfNull(classifications); 49_ = Throw.IfNull(builder); 50_ = Throw.IfNull(section); 51_ = Throw.IfNull(classifications);
RedactionServiceCollectionExtensions.cs (3)
23=> Throw.IfNull(services).AddRedaction(_ => { }); 35_ = Throw.IfNull(services); 36_ = Throw.IfNull(configure);
RedactorProvider.cs (1)
22var value = Throw.IfMemberNull(options, options.Value);
src\Shared\Data.Validation\TimeSpanAttribute.cs (3)
88_ = Throw.IfNullOrWhitespace(min); 101_ = Throw.IfNullOrWhitespace(min); 102_ = Throw.IfNullOrWhitespace(max);