76 writes to DisplayName
Microsoft.AspNetCore.Diagnostics.Middleware (9)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (9)
26context.DisplayName = string.IsNullOrEmpty(name) ? "PerRequestLogBufferingOptions.AutoFlushDuration" : $"{name}.AutoFlushDuration"; 34context.DisplayName = string.IsNullOrEmpty(name) ? "PerRequestLogBufferingOptions.MaxLogRecordSizeInBytes" : $"{name}.MaxLogRecordSizeInBytes"; 44context.DisplayName = string.IsNullOrEmpty(name) ? "PerRequestLogBufferingOptions.MaxPerRequestBufferSizeInBytes" : $"{name}.MaxPerRequestBufferSizeInBytes"; 78context.DisplayName = string.IsNullOrEmpty(name) ? "RequestLatencyTelemetryOptions.LatencyDataExportTimeout" : $"{name}.LatencyDataExportTimeout"; 110context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingRedactionOptions.RouteParameterDataClasses" : $"{name}.RouteParameterDataClasses"; 118context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingRedactionOptions.RequestHeadersDataClasses" : $"{name}.RequestHeadersDataClasses"; 128context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingRedactionOptions.ResponseHeadersDataClasses" : $"{name}.ResponseHeadersDataClasses"; 138context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingRedactionOptions.ExcludePathStartsWith" : $"{name}.ExcludePathStartsWith"; 172context.DisplayName = string.IsNullOrEmpty(name) ? "RequestHeadersLogEnricherOptions.HeadersDataClasses" : $"{name}.HeadersDataClasses";
Microsoft.AspNetCore.HeaderParsing (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
26context.DisplayName = string.IsNullOrEmpty(name) ? "HeaderParsingOptions.DefaultMaxCachedValuesPerHeader" : $"{name}.DefaultMaxCachedValuesPerHeader";
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsModelValidator.cs (1)
79DisplayName = metadata.GetDisplayName(),
ValidatableObjectAdapter.cs (1)
38DisplayName = context.ModelMetadata.GetDisplayName(),
Microsoft.Extensions.AmbientMetadata.Application (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (2)
26context.DisplayName = string.IsNullOrEmpty(name) ? "ApplicationMetadata.ApplicationName" : $"{name}.ApplicationName"; 34context.DisplayName = string.IsNullOrEmpty(name) ? "ApplicationMetadata.EnvironmentName" : $"{name}.EnvironmentName";
Microsoft.Extensions.Compliance.Redaction (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
26context.DisplayName = string.IsNullOrEmpty(name) ? "HmacRedactorOptions.Key" : $"{name}.Key";
Microsoft.Extensions.Compliance.Testing (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
26context.DisplayName = string.IsNullOrEmpty(name) ? "FakeRedactorOptions.RedactionFormat" : $"{name}.RedactionFormat";
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (3)
27context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceUsageThresholds.DegradedUtilizationPercentage" : $"{name}.DegradedUtilizationPercentage"; 35context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceUsageThresholds.UnhealthyUtilizationPercentage" : $"{name}.UnhealthyUtilizationPercentage"; 79context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceUtilizationHealthCheckOptions.SamplingWindow" : $"{name}.SamplingWindow";
Microsoft.Extensions.Diagnostics.Probes (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (3)
33context.DisplayName = string.IsNullOrEmpty(name) ? "TcpEndpointProbesOptions.TcpPort" : $"{name}.TcpPort"; 41context.DisplayName = string.IsNullOrEmpty(name) ? "TcpEndpointProbesOptions.MaxPendingConnections" : $"{name}.MaxPendingConnections"; 51context.DisplayName = string.IsNullOrEmpty(name) ? "TcpEndpointProbesOptions.HealthAssessmentPeriod" : $"{name}.HealthAssessmentPeriod";
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (6)
26context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.CollectionWindow" : $"{name}.CollectionWindow"; 34context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.SamplingInterval" : $"{name}.SamplingInterval"; 44context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.PublishingWindow" : $"{name}.PublishingWindow"; 54context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.CpuConsumptionRefreshInterval" : $"{name}.CpuConsumptionRefreshInterval"; 64context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.MemoryConsumptionRefreshInterval" : $"{name}.MemoryConsumptionRefreshInterval"; 74context.DisplayName = string.IsNullOrEmpty(name) ? "ResourceMonitoringOptions.SourceIpAddresses" : $"{name}.SourceIpAddresses";
Microsoft.Extensions.Http.Diagnostics (8)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (8)
24context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.RequestQueryParametersDataClasses" : $"{name}.RequestQueryParametersDataClasses"; 32context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.BodySizeLimit" : $"{name}.BodySizeLimit"; 42context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.BodyReadTimeout" : $"{name}.BodyReadTimeout"; 52context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.RequestBodyContentTypes" : $"{name}.RequestBodyContentTypes"; 62context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.ResponseBodyContentTypes" : $"{name}.ResponseBodyContentTypes"; 72context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.RequestHeadersDataClasses" : $"{name}.RequestHeadersDataClasses"; 82context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.ResponseHeadersDataClasses" : $"{name}.ResponseHeadersDataClasses"; 92context.DisplayName = string.IsNullOrEmpty(name) ? "LoggingOptions.RouteParameterDataClasses" : $"{name}.RouteParameterDataClasses";
Microsoft.Extensions.Http.Resilience (33)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (33)
25context.DisplayName = string.IsNullOrEmpty(name) ? "HedgingEndpointOptions.RateLimiter" : $"{name}.RateLimiter"; 38context.DisplayName = string.IsNullOrEmpty(name) ? "HedgingEndpointOptions.CircuitBreaker" : $"{name}.CircuitBreaker"; 53context.DisplayName = string.IsNullOrEmpty(name) ? "HedgingEndpointOptions.Timeout" : $"{name}.Timeout"; 91context.DisplayName = string.IsNullOrEmpty(name) ? "HttpCircuitBreakerStrategyOptions.FailureRatio" : $"{name}.FailureRatio"; 99context.DisplayName = string.IsNullOrEmpty(name) ? "HttpCircuitBreakerStrategyOptions.MinimumThroughput" : $"{name}.MinimumThroughput"; 109context.DisplayName = string.IsNullOrEmpty(name) ? "HttpCircuitBreakerStrategyOptions.SamplingDuration" : $"{name}.SamplingDuration"; 119context.DisplayName = string.IsNullOrEmpty(name) ? "HttpCircuitBreakerStrategyOptions.BreakDuration" : $"{name}.BreakDuration"; 129context.DisplayName = string.IsNullOrEmpty(name) ? "HttpCircuitBreakerStrategyOptions.ShouldHandle" : $"{name}.ShouldHandle"; 162context.DisplayName = string.IsNullOrEmpty(name) ? "HttpHedgingStrategyOptions.MaxHedgedAttempts" : $"{name}.MaxHedgedAttempts"; 170context.DisplayName = string.IsNullOrEmpty(name) ? "HttpHedgingStrategyOptions.ShouldHandle" : $"{name}.ShouldHandle"; 180context.DisplayName = string.IsNullOrEmpty(name) ? "HttpHedgingStrategyOptions.ActionGenerator" : $"{name}.ActionGenerator"; 213context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRateLimiterStrategyOptions.DefaultRateLimiterOptions" : $"{name}.DefaultRateLimiterOptions"; 244context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRetryStrategyOptions.MaxRetryAttempts" : $"{name}.MaxRetryAttempts"; 252context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRetryStrategyOptions.Delay" : $"{name}.Delay"; 262context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRetryStrategyOptions.MaxDelay" : $"{name}.MaxDelay"; 272context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRetryStrategyOptions.ShouldHandle" : $"{name}.ShouldHandle"; 282context.DisplayName = string.IsNullOrEmpty(name) ? "HttpRetryStrategyOptions.Randomizer" : $"{name}.Randomizer"; 315context.DisplayName = string.IsNullOrEmpty(name) ? "HttpTimeoutStrategyOptions.Timeout" : $"{name}.Timeout"; 346context.DisplayName = string.IsNullOrEmpty(name) ? "UriEndpointGroup.Endpoints" : $"{name}.Endpoints"; 394context.DisplayName = string.IsNullOrEmpty(name) ? "WeightedUriEndpointGroup.Weight" : $"{name}.Weight"; 402context.DisplayName = string.IsNullOrEmpty(name) ? "WeightedUriEndpointGroup.Endpoints" : $"{name}.Endpoints"; 452context.DisplayName = string.IsNullOrEmpty(name) ? "WeightedUriEndpoint.Uri" : $"{name}.Uri"; 460context.DisplayName = string.IsNullOrEmpty(name) ? "WeightedUriEndpoint.Weight" : $"{name}.Weight"; 492context.DisplayName = string.IsNullOrEmpty(name) ? "OrderedGroupsRoutingOptions.Groups" : $"{name}.Groups"; 540context.DisplayName = string.IsNullOrEmpty(name) ? "WeightedGroupsRoutingOptions.Groups" : $"{name}.Groups"; 588context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardHedgingResilienceOptions.TotalRequestTimeout" : $"{name}.TotalRequestTimeout"; 601context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardHedgingResilienceOptions.Hedging" : $"{name}.Hedging"; 616context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardHedgingResilienceOptions.Endpoint" : $"{name}.Endpoint"; 653context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardResilienceOptions.RateLimiter" : $"{name}.RateLimiter"; 666context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardResilienceOptions.TotalRequestTimeout" : $"{name}.TotalRequestTimeout"; 681context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardResilienceOptions.Retry" : $"{name}.Retry"; 696context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardResilienceOptions.CircuitBreaker" : $"{name}.CircuitBreaker"; 711context.DisplayName = string.IsNullOrEmpty(name) ? "HttpStandardResilienceOptions.AttemptTimeout" : $"{name}.AttemptTimeout";
Microsoft.Extensions.Telemetry (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (3)
25context.DisplayName = string.IsNullOrEmpty(name) ? "RandomProbabilisticSamplerFilterRule.Probability" : $"{name}.Probability"; 55context.DisplayName = string.IsNullOrEmpty(name) ? "RandomProbabilisticSamplerOptions.Rules" : $"{name}.Rules"; 102context.DisplayName = string.IsNullOrEmpty(name) ? "LoggerEnrichmentOptions.MaxStackTraceLength" : $"{name}.MaxStackTraceLength";
Microsoft.Extensions.Telemetry.Abstractions (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (3)
33context.DisplayName = string.IsNullOrEmpty(name) ? "LatencyContextRegistrationOptions.CheckpointNames" : $"{name}.CheckpointNames"; 41context.DisplayName = string.IsNullOrEmpty(name) ? "LatencyContextRegistrationOptions.MeasureNames" : $"{name}.MeasureNames"; 51context.DisplayName = string.IsNullOrEmpty(name) ? "LatencyContextRegistrationOptions.TagNames" : $"{name}.TagNames";
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
135DisplayName = displayName;
4 references to DisplayName
Shared (1)
..\..\..\..\src\Shared\Data.Validation\ValidationContextExtensions.cs (1)
27return validationContext?.DisplayName ?? string.Empty;
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
56return new ValidationResult(FormatErrorMessage(validationContext.DisplayName), memberNames);
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (2)
311return new ValidationResult(FormatErrorMessage(validationContext.DisplayName), memberNames); 320string errorMessage = FormatErrorMessage(validationContext.DisplayName);