You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Testcontainers/Builders/ContainerBuilder`3.cs
+7-5
Original file line number
Diff line number
Diff line change
@@ -195,32 +195,33 @@ public TBuilderEntity WithResourceMapping(byte[] resourceContent, string filePat
195
195
}
196
196
197
197
/// <inheritdoc />
198
+
[Obsolete("The next release will change how this member behaves. The target argument, which used to be a file path, will be a directory path where the file will be copied to, similar to WithResourceMapping(DirectoryInfo, string) and WithResourceMapping(FileInfo, string).\nTo retain the old behavior, use WithResourceMapping(FileInfo, FileInfo) instead.")]
@@ -327,6 +328,7 @@ public TBuilderEntity WithPrivileged(bool privileged)
327
328
}
328
329
329
330
/// <inheritdoc />
331
+
[Obsolete("It is no longer necessary to assign an output consumer to read the container's log messages.\nUse IContainer.GetLogsAsync(DateTime, DateTime, bool, CancellationToken) instead.")]
/// <returns>A configured instance of <typeparamref name="TBuilderEntity" />.</returns>
408
408
[PublicAPI]
409
-
[Obsolete("It is no longer necessary to assign an output consumer to read the container's log messages.\nUse IContainer.GetLogsAsync(DateTime, DateTime, bool, CancellationToken) instead.")]
0 commit comments