Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionOptions.cs
Go to the documentation of this file.
2
3namespace System.Transactions;
4
5public struct TransactionOptions
6{
8
10
12 {
13 get
14 {
15 return _timeout;
16 }
17 set
18 {
20 }
21 }
22
24 {
25 get
26 {
27 return _isolationLevel;
28 }
29 set
30 {
32 }
33 }
34
35 public override int GetHashCode()
36 {
37 return base.GetHashCode();
38 }
39
40 public override bool Equals([NotNullWhen(true)] object? obj)
41 {
43 {
44 return Equals(other);
45 }
46 return false;
47 }
48
50 {
51 if (_timeout == other._timeout)
52 {
53 return _isolationLevel == other._isolationLevel;
54 }
55 return false;
56 }
57
59 {
60 return x.Equals(y);
61 }
62
64 {
65 return !x.Equals(y);
66 }
67}
static bool operator!=(TransactionOptions x, TransactionOptions y)
static bool operator==(TransactionOptions x, TransactionOptions y)
bool Equals(TransactionOptions other)
override bool Equals([NotNullWhen(true)] object? obj)