13 references to Name
Aspire.Hosting.Azure (12)
AzureBicepResource.cs (6)
399
if (!Resource.Outputs.TryGetValue(
Name
, out var value))
401
throw new InvalidOperationException($"No output for {
Name
}");
411
public string ValueExpression => $"{{{Resource.Name}.outputs.{
Name
}}}";
416
other.
Name
==
Name
;
420
HashCode.Combine(Resource,
Name
);
AzureDeployingContext.cs (1)
271
outputRef.Resource.Outputs[outputRef.
Name
] = populatedMainOutputValue;
AzurePublishingContext.cs (3)
204
BicepOutputReference b => GetOutputs(moduleMap[b.Resource], b.
Name
),
365
var identifier = Infrastructure.NormalizeBicepIdentifier($"{output.Resource.Name}_{output.
Name
}");
369
Value = GetOutputs(module, output.
Name
)
Provisioning\Provisioners\BicepProvisioner.cs (2)
302
var vaultUri = resource.Outputs[kvr.VaultUriOutputReference.
Name
] as string ?? throw new InvalidOperationException($"{kvr.VaultUriOutputReference.
Name
} not found in outputs.");
Aspire.Hosting.Azure.Tests (1)
AzureAppServiceTests.cs (1)
260
Assert.Equal("name", env.Resource.NameOutputReference.
Name
);