51 references to ValidationContext
Microsoft.AspNetCore.Diagnostics.Middleware (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (4)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 73var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 105var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 167var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.AspNetCore.HeaderParsing (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.AmbientMetadata.Application (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Compliance.Redaction (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Compliance.Testing (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (2)
22var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 64var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
21var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Http.Diagnostics (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
19var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Http.Resilience (13)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (13)
20var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 86var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 157var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 208var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 239var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 310var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 341var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 389var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 447var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 487var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 535var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 583var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 648var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Microsoft.Extensions.Http.Resilience.Tests (1)
..\..\..\..\test\Libraries\Microsoft.Extensions.Http.Resilience.Tests\Helpers\OptionsUtilities.cs (1)
15var context = new ValidationContext(options);
Microsoft.Extensions.Options.DataAnnotations (2)
DataAnnotationValidateOptions.Async.cs (1)
100bool res = await Validator.TryValidateObjectAsync(options, new ValidationContext(options), results, validateAllProperties: true, cancellationToken).ConfigureAwait(false);
DataAnnotationValidateOptions.cs (1)
92bool res = Validator.TryValidateObject(options, new ValidationContext(options), results, validateAllProperties: true);
Microsoft.Extensions.Telemetry (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (3)
20var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 50var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options); 97var context = new global::System.ComponentModel.DataAnnotations.ValidationContext(options);
Shared.Tests (20)
..\..\..\..\test\Shared\Data.Validation\LengthAttributeTests.cs (13)
28var context = new ValidationContext(options); 84var context = new ValidationContext(options); 156var context = new ValidationContext(options); 213var context = new ValidationContext(options); 263var context = new ValidationContext(options); 341var context = new ValidationContext(options0); 346context = new ValidationContext(options1); 351context = new ValidationContext(options2); 356context = new ValidationContext(options3); 361context = new ValidationContext(options4); 370var context = new ValidationContext(value); 389var context = new ValidationContext(options); 409var context = new ValidationContext(options);
..\..\..\..\test\Shared\Data.Validation\TimeSpanAttributeTests.cs (7)
26var context = new ValidationContext(options); 91var context = new ValidationContext(options); 154var context = new ValidationContext(options); 228var context = new ValidationContext(options0); 233context = new ValidationContext(options1); 238context = new ValidationContext(options3); 247var context = new ValidationContext(value);