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
/// <summary>/// Controls how increment and decrement behaves./// </summary>publicenumIncrementMode{/// <summary>/// Truncate to the limit if overflow would have happened./// </summary>Truncate,/// <summary>/// Add the increment even if it overflows the limit./// </summary>Overflow,/// <summary>/// Don't allow incrementing if the limit would be overflown./// </summary>DisableIfOverflow,}
/// <summary>/// Controls how increment and decrement behaves./// </summary>publicenumBoundaryPolicy{/// <summary>/// Truncate to the limit if overflow would have happened./// </summary>Truncate,/// <summary>/// Add the increment even if it overflows the limit./// </summary>Overflow,/// <summary>/// Don't allow incrementing or decrementing if the limit would be overflown./// </summary>Disable,}
Activity
JohanLarsson commentedon Jun 21, 2017
milleniumbug commentedon Jun 21, 2017
BoundaryPolicyOnLimitReached(kind of meh since it has a silly callback-like name)JohanLarsson commentedon Jun 21, 2017
BoundaryPolicy is nice, thanks!