9 references to StaticValidationContextType
Microsoft.Extensions.Options.SourceGeneration (9)
Emitter.cs (9)
376protected override {{StaticValidationResultType}}? IsValid(object? value, {{StaticValidationContextType}} validationContext)
752OutLn($"var context = new {StaticValidationContextType}(options, \"{modelToValidate.SimpleName}\", null, null);");
754OutLn($"var context = new {StaticValidationContextType}(options);");
878OutLn($"var context = new {StaticValidationContextType}(options, \"{modelToValidate.SimpleName}\", null, null);");
880OutLn($"var context = new {StaticValidationContextType}(options);");
919OutLn($"var context = new {StaticValidationContextType}(options, \"{modelToValidate.SimpleName}\", null, null);");
921OutLn($"var context = new {StaticValidationContextType}(options);");
971OutLn($"var {contextVar} = new {StaticValidationContextType}(options, \"{modelToValidate.SimpleName}\", null, null);");
973OutLn($"var {contextVar} = new {StaticValidationContextType}(options);");