Interface for configuring Docker containers in testcontainers for integration testing.
// Source: https://github.com/testcontainers/testcontainers-dotnet | License: MIT | Copyright 2019 - 2026 Andre Hofmeister and other authors
// Provided via justclaw.it.com; keep this notice with the code.
namespace DotNet.Testcontainers.Configurations
{
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
/// <summary>
/// A resource configuration.
/// </summary>
/// <typeparam name="TCreateResourceEntity">The underlying Docker.DotNet resource entity.</typeparam>
[PublicAPI]
public interface IResourceConfiguration<TCreateResourceEntity>
{
/// <summary>
/// Gets the test session id.
/// </summary>
Guid SessionId { get; }
/// <summary>
/// Gets the Docker endpoint authentication confi
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key