Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
DesignerTransaction.cs
Go to the documentation of this file.
1
namespace
System.ComponentModel.Design
;
2
3
public
abstract
class
DesignerTransaction
:
IDisposable
4
{
5
private
bool
_suppressedFinalization
;
6
7
public
bool
Canceled
{
get
;
private
set
; }
8
9
public
bool
Committed
{
get
;
private
set
; }
10
11
public
string
Description
{
get
; }
12
13
protected
DesignerTransaction
()
14
: this(
""
)
15
{
16
}
13
protected
DesignerTransaction
() {
…
}
17
18
protected
DesignerTransaction
(
string
description)
19
{
20
Description
= description;
21
}
18
protected
DesignerTransaction
(
string
description) {
…
}
22
23
public
void
Cancel
()
24
{
25
if
(!
Canceled
&& !
Committed
)
26
{
27
Canceled
=
true
;
28
GC
.
SuppressFinalize
(
this
);
29
_suppressedFinalization
=
true
;
30
OnCancel
();
31
}
32
}
23
public
void
Cancel
() {
…
}
33
34
public
void
Commit
()
35
{
36
if
(!
Committed
&& !
Canceled
)
37
{
38
Committed
=
true
;
39
GC
.
SuppressFinalize
(
this
);
40
_suppressedFinalization
=
true
;
41
OnCommit
();
42
}
43
}
34
public
void
Commit
() {
…
}
44
45
protected
abstract
void
OnCancel
();
46
47
protected
abstract
void
OnCommit
();
48
49
~DesignerTransaction
()
50
{
51
Dispose
(disposing:
false
);
52
}
49
~DesignerTransaction
() {
…
}
53
54
void
IDisposable
.
Dispose
()
55
{
56
Dispose
(disposing:
true
);
57
if
(!
_suppressedFinalization
)
58
{
59
GC
.
SuppressFinalize
(
this
);
60
}
61
}
54
void
IDisposable
.
Dispose
() {
…
}
62
63
protected
virtual
void
Dispose
(
bool
disposing)
64
{
65
Cancel
();
66
}
63
protected
virtual
void
Dispose
(
bool
disposing) {
…
}
67
}
3
public
abstract
class
DesignerTransaction
:
IDisposable
{
…
};
System.ComponentModel.Design.DesignerTransaction.Committed
bool Committed
Definition
DesignerTransaction.cs:9
System.ComponentModel.Design.DesignerTransaction._suppressedFinalization
bool _suppressedFinalization
Definition
DesignerTransaction.cs:5
System.ComponentModel.Design.DesignerTransaction.Dispose
virtual void Dispose(bool disposing)
Definition
DesignerTransaction.cs:63
System.ComponentModel.Design.DesignerTransaction.Cancel
void Cancel()
Definition
DesignerTransaction.cs:23
System.ComponentModel.Design.DesignerTransaction.Description
string Description
Definition
DesignerTransaction.cs:11
System.ComponentModel.Design.DesignerTransaction.~DesignerTransaction
~DesignerTransaction()
Definition
DesignerTransaction.cs:49
System.ComponentModel.Design.DesignerTransaction.DesignerTransaction
DesignerTransaction()
Definition
DesignerTransaction.cs:13
System.ComponentModel.Design.DesignerTransaction.Dispose
void IDisposable. Dispose()
Definition
DesignerTransaction.cs:54
System.ComponentModel.Design.DesignerTransaction.OnCommit
void OnCommit()
System.ComponentModel.Design.DesignerTransaction.Commit
void Commit()
Definition
DesignerTransaction.cs:34
System.ComponentModel.Design.DesignerTransaction.DesignerTransaction
DesignerTransaction(string description)
Definition
DesignerTransaction.cs:18
System.ComponentModel.Design.DesignerTransaction.Canceled
bool Canceled
Definition
DesignerTransaction.cs:7
System.ComponentModel.Design.DesignerTransaction.OnCancel
void OnCancel()
System.ComponentModel.Design.DesignerTransaction
Definition
DesignerTransaction.cs:4
System.GC.SuppressFinalize
static void SuppressFinalize(object obj)
Definition
GC.cs:202
System.GC
Definition
GC.cs:8
System.IDisposable.Dispose
void Dispose()
System.IDisposable
Definition
IDisposable.cs:4
System.ComponentModel.Design
Definition
DesignerSerializerAttribute.cs:1
source
System.ComponentModel.TypeConverter
System.ComponentModel.Design
DesignerTransaction.cs
Generated by
1.10.0