4 references to MaxTagLength
Aspire.Dashboard (2)
Model\ResourceTagStore.cs (2)
163
return normalized.Length >
MaxTagLength
? normalized[..
MaxTagLength
].TrimEnd() : normalized;
Aspire.Dashboard.Tests (2)
Model\ResourceTagStoreTests.cs (2)
306
var normalized = ResourceTagStore.NormalizeTag(new string('a', ResourceTagStore.
MaxTagLength
+ 10));
308
Assert.Equal(new string('a', ResourceTagStore.
MaxTagLength
), normalized);