25 references to Create
Aspire.Hosting.Azure.Provisioning (10)
BicepValueFactory.cs (10)
51return BicepValueProxy.Create(new BicepValue<string>(value)); 62return BicepValueProxy.Create(new BicepValue<int>(value)); 73return BicepValueProxy.Create(new BicepValue<bool>(value)); 84return BicepValueProxy.Create(new BicepValue<double>(value)); 95return BicepValueProxy.Create(new BicepValue<Guid>(value)); 108return BicepValueProxy.Create(new BicepValue<Uri>(value)); 121return BicepValueProxy.Create(new BicepValue<AzureLocation>(new AzureLocation(name))); 132return BicepValueProxy.Create(new BicepValue<TimeSpan>(value)); 148return BicepValueProxy.Create<string>(parameter.AsProvisioningParameter(_infrastructure, bicepIdentifier)); 166return BicepValueProxy.Create<string>(expression.AsProvisioningParameter(_infrastructure, bicepIdentifier, isSecure));
Aspire.Hosting.Azure.Provisioning.Tests (15)
BicepValueProxyTests.cs (15)
32var proxy = BicepValueProxy.Create(new BicepValue<string>("value")); 59var proxy = BicepValueProxy.Create( 100var proxy = BicepValueProxy.Create(new BicepValue<string>("Standard")); 116var proxy = BicepValueProxy.Create(source); 165var proxy = BicepValueProxy.Create(new BicepValue<int>(42)); 179var proxy = BicepValueProxy.Create( 283var roundTripped = BicepValueProxy.Convert<IPAddress>(BicepValueProxy.Create(converted)); 298var proxy = BicepValueProxy.Create(source); 336var proxy = BicepValueProxy.Create(new BicepValue<int>(42)); 346var proxy = BicepValueProxy.Create(new BicepValue<AzureLocation>(AzureLocation.WestUS2)); 359var proxy = BicepValueProxy.Create(new BicepValue<int>(42)); 554assign(BicepValueProxy.Create(new BicepValue<int>(42))); 558() => assign(BicepValueProxy.Create(new BicepValue<string>("text")))); 570assign(BicepValueProxy.Create(new BicepValue<int>(42))); 576assign(BicepValueProxy.Create(