File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed
src/Testcontainers/Configurations/WaitStrategies Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 3232 <GenerateDocumentationFile >true</GenerateDocumentationFile >
3333 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
3434 </PropertyGroup >
35+ <ItemGroup >
36+ <GlobalPackageReference Include =" SauceControl.InheritDoc" VersionOverride =" 2.0.2" />
37+ </ItemGroup >
3538 <ItemGroup >
3639 <None Include =" $(MSBuildThisFileDirectory)docs/banner.png" Visible =" false" Pack =" true" PackagePath =" docs/" />
3740 <None Include =" $(MSBuildThisFileDirectory)docs/logo.png" Visible =" false" Pack =" true" PackagePath =" docs/" />
Original file line number Diff line number Diff line change @@ -45,10 +45,9 @@ _ = new ContainerBuilder()
4545
4646``` csharp title="Copying a file"
4747_ = new ContainerBuilder ()
48- # copy to the `/app` directory
49- .WithResourceMapping (new FileInfo (" appsettings.json" ), " /app" )
50-
51- # copy to a specific file
48+ # Copy 'appsettings.json' into the '/app' directory.
49+ .WithResourceMapping (new FileInfo (" appsettings.json" ), " /app/" )
50+ # Copy 'appsettings.Container.json' to '/app/appsettings.Developer.json'.
5251 .WithResourceMapping (new FileInfo (" appsettings.Container.json" ), new FileInfo (" /app/appsettings.Developer.json" ));
5352```
5453
Original file line number Diff line number Diff line change @@ -4,9 +4,17 @@ namespace DotNet.Testcontainers.Configurations
44 using DotNet . Testcontainers . Containers ;
55 using JetBrains . Annotations ;
66
7+ /// <summary>
8+ /// Defines a condition that is repeatedly evaluated until it becomes true.
9+ /// </summary>
710 [ PublicAPI ]
811 public interface IWaitUntil
912 {
13+ /// <summary>
14+ /// Evaluates the condition asynchronously against the specified container.
15+ /// </summary>
16+ /// <param name="container">The container instance to check readiness against.</param>
17+ /// <returns>A task that returns <c>true</c> when the condition is satisfied; otherwise, <c>false</c>.</returns>
1018 Task < bool > UntilAsync ( IContainer container ) ;
1119 }
1220}
Original file line number Diff line number Diff line change @@ -4,9 +4,17 @@ namespace DotNet.Testcontainers.Configurations
44 using DotNet . Testcontainers . Containers ;
55 using JetBrains . Annotations ;
66
7+ /// <summary>
8+ /// Defines a condition that is repeatedly evaluated while it remains true.
9+ /// </summary>
710 [ PublicAPI ]
811 public interface IWaitWhile
912 {
13+ /// <summary>
14+ /// Evaluates the condition asynchronously against the specified container.
15+ /// </summary>
16+ /// <param name="container">The container instance to check readiness against.</param>
17+ /// <returns>A task that returns <c>true</c> while the condition holds; otherwise, <c>false</c>.</returns>
1018 Task < bool > WhileAsync ( IContainer container ) ;
1119 }
1220}
You can’t perform that action at this time.
0 commit comments