20 references to GetBoundedText
aspire (20)
Mcp\Tools\ListResourcesTool.cs (20)
205Name = GetBoundedText(snapshot.Name), 206DisplayName = GetBoundedText(snapshot.DisplayName), 207ResourceType = GetBoundedText(snapshot.ResourceType), 208ResourceTypeDisplayName = GetBoundedText(snapshot.ResourceTypeDisplayName), 211StateStyle = GetBoundedText(snapshot.StateStyle), 214HealthStatus = GetBoundedText(snapshot.HealthStatus), 218Name = GetBoundedText(url.Name), 219DisplayName = GetBoundedText(url.DisplayProperties?.DisplayName), 220Url = GetBoundedText(McpToolHelpers.SanitizeResourceUrl(url.Url)), 318Description = GetBoundedText(command.Description), 322InputType = GetBoundedText(input.InputType)!, 323Description = GetBoundedText(input.Description), 326? input.Options?.ToDictionary(option => option.Key, option => GetBoundedText(option.Value)) 437var boundedName = GetBoundedText(identity.WaitingForName)!; 470var boundedType = GetBoundedText(relationship.Type); 471var boundedTarget = GetBoundedText(target); 498return GetBoundedText(McpToolHelpers.SanitizeUrl(dashboardUrl)); 514return projectPath is null ? null : GetBoundedText(GetCrossPlatformFileName(projectPath)); 520return executablePath is null ? null : GetBoundedText(GetCrossPlatformFileName(executablePath)); 525return GetBoundedText(GetStringProperty(snapshot, KnownProperties.Container.Image));