1 write to Value
Aspire.Hosting.Azure.EntraId (1)
EntraIdAppRole.cs (1)
60Value = value;
10 references to Value
Aspire.Hosting.Azure.EntraId (7)
EntraIdApplicationResource.cs (2)
430var role = AppRoles.SingleOrDefault(role => string.Equals(role.Value, value, StringComparison.Ordinal)) 850Value = role.Value,
EntraIdAppRole.cs (1)
119var hash = XxHash128.Hash(Encoding.UTF8.GetBytes($"aspire-entra-app-role/{applicationName}/{Value}"));
EntraIdResourceExtensions.cs (3)
1933if (roles.Any(r => string.Equals(r.Value, role.Value, StringComparison.Ordinal))) 1935throw new ArgumentException($"An application role with the value '{role.Value}' is already declared.", nameof(role));
Provisioning\EntraIdSymbolNames.cs (1)
61Get(identity, $"RoleAssignment:{roleId:N}", $"{StartWithLetter(Infrastructure.NormalizeBicepIdentifier(identity.Name))}{ToPascalCase(role.Value)}RoleAssignment");
Aspire.Hosting.Azure.EntraId.Tests (3)
EntraIdPolyglotTests.cs (1)
618Assert.Equal("Read", assignment.Role.Value);
EntraIdProvisioningTests.cs (2)
323Assert.Equal(value, new EntraIdAppRole(value, "Name", "Description.").Value); 330Assert.Equal(120, new EntraIdAppRole(new string('a', 120), "Name", "Description.").Value.Length);