mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-09-02 16:02:58 +00:00
10 lines
454 B
C#
10 lines
454 B
C#
|
using System.Numerics;
|
||
|
|
||
|
namespace AIStudio.Tools;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Represents the result of an increment operation. It encapsulates whether the operation
|
||
|
/// was successful and the increased value.
|
||
|
/// </summary>
|
||
|
/// <typeparam name="TOut">The type of the incremented value, constrained to implement the IBinaryInteger interface.</typeparam>
|
||
|
public sealed record IncrementResult<TOut>(bool Success, TOut UpdatedValue) where TOut : IBinaryInteger<TOut>;
|