mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-27 03:52:57 +02:00
ebc068d820
* PM-6848 Updated cancellation flow on passkey user verification and improved UV enforcement on creation * PM-6848 Added null checks to help diagnosing if NRE is presented
16 lines
329 B
C#
16 lines
329 B
C#
namespace Bit.Core.Utilities
|
|
{
|
|
public readonly struct CancellableResult<T>
|
|
{
|
|
public CancellableResult(T result, bool isCancelled = false)
|
|
{
|
|
Result = result;
|
|
IsCancelled = isCancelled;
|
|
}
|
|
|
|
public T Result { get; }
|
|
|
|
public bool IsCancelled { get; }
|
|
}
|
|
}
|