SHA256
Document RenderSession.WithEndCondition
This commit is contained in:
1 file changed
+5
@@ -62,6 +62,11 @@ public class RenderSession
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the custom condition function that determines when the render session should end.
|
||||
/// </summary>
|
||||
/// <param name="endCondition">A delegate returning <c>true</c> when the session end condition is met.</param>
|
||||
/// <returns>The current <see cref="RenderSession"/> instance for method chaining.</returns>
|
||||
public RenderSession WithEndCondition(Func<bool> endCondition)
|
||||
{
|
||||
_endCondition = endCondition;
|
||||
|
||||
Reference in new issue
Block a user