Struct TransactionResult
Assembly: ZoneTree.dll
Syntax
public readonly struct TransactionResult : ITransactionResult, IEquatable<TransactionResult>
Constructors
|
Improve this Doc
View Source
TransactionResult(bool)
Declaration
public TransactionResult(bool isAborted)
Parameters
Type |
Name |
Description |
bool |
isAborted |
|
Properties
|
Improve this Doc
View Source
IsAborted
Declaration
public bool IsAborted { get; }
Property Value
|
Improve this Doc
View Source
Succeeded
Declaration
public bool Succeeded { get; }
Property Value
Methods
|
Improve this Doc
View Source
Aborted()
Declaration
public static TransactionResult Aborted()
Returns
|
Improve this Doc
View Source
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
|
Improve this Doc
View Source
Equals(TransactionResult)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(TransactionResult other)
Parameters
Returns
Type |
Description |
bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Improve this Doc
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
|
Improve this Doc
View Source
Success()
Declaration
public static TransactionResult Success()
Returns
Operators
|
Improve this Doc
View Source
operator ==(TransactionResult, TransactionResult)
Declaration
public static bool operator ==(TransactionResult left, TransactionResult right)
Parameters
Returns
|
Improve this Doc
View Source
operator !=(TransactionResult, TransactionResult)
Declaration
public static bool operator !=(TransactionResult left, TransactionResult right)
Parameters
Returns
Implements