22 references to WithImage
Aspire.Hosting (1)
IDistributedApplicationBuilder.cs (1)
144/// method. Other extension methods (such as <see cref="ContainerResourceBuilderExtensions.WithImage{T}(IResourceBuilder{T}, string, string)"/>
Aspire.Hosting.Containers.Tests (4)
ContainerResourceBuilderTests.cs (4)
16var redis = builder.AddContainer("redis", "redis").WithImage("redis-stack"); 24var redis = builder.AddContainer("redis", "redis").WithImage("redis-stack", "1.0.0"); 36container.WithImage("new-image"); 48container.WithImage("new-image");
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
83.WithImage(ElasticsearchContainerImageTags.Image, ElasticsearchContainerImageTags.Tag)
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
54.WithImage(MilvusContainerImageTags.Image, MilvusContainerImageTags.Tag)
Aspire.Hosting.MongoDB.Tests (1)
AddMongoDBTests.cs (1)
114c.WithImage("customongoexpresscontainer");
Aspire.Hosting.MySql (1)
MySqlBuilderExtensions.cs (1)
55.WithImage(MySqlContainerImageTags.Image, MySqlContainerImageTags.Tag)
Aspire.Hosting.Oracle (1)
OracleDatabaseBuilderExtensions.cs (1)
52.WithImage(OracleContainerImageTags.Image, OracleContainerImageTags.Tag)
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
79.WithImage(PostgresContainerImageTags.Image, PostgresContainerImageTags.Tag)
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
404c.WithImage("customrediscommander");
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
69.WithImage(QdrantContainerImageTags.Image, QdrantContainerImageTags.Tag)
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
64.WithImage(RabbitMQContainerImageTags.Image, RabbitMQContainerImageTags.Tag)
Aspire.Hosting.RabbitMQ.Tests (1)
AddRabbitMQTests.cs (1)
174rabbitmq.WithImage(imageName);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
149c.WithImage("customrediscommander"); 167c.WithImage("customrediscommander");
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
53.WithImage(SqlServerContainerImageTags.Image, SqlServerContainerImageTags.Tag)
Aspire.Hosting.Tests (4)
ExpressionResolverTests.cs (4)
49target = target.WithImage("someimage"); 62source = source.WithImage("someimage"); 94test = test.WithImage("someimage"); 113test = test.WithImage("someimage");