1 implementation of TransactionDescription
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
877
string IDesignerHost.
TransactionDescription
=>
26 references to TransactionDescription
System.Windows.Forms.Design (1)
System\ComponentModel\Design\UndoEngine.cs (1)
529
_unitStack.Push(CreateUndoUnit(_host.
TransactionDescription
, _unitStack.Count == 0));
System.Windows.Forms.Design.Tests (25)
System\ComponentModel\Design\DesignerHostTests.cs (11)
143
host.
TransactionDescription
.Should().BeNullOrEmpty();
1876
Assert.Equal("No Description Available", host.
TransactionDescription
);
1883
Assert.Equal("No Description Available", host.
TransactionDescription
);
1901
Assert.Equal(expectedDescription, host.
TransactionDescription
);
1908
Assert.Equal("CustomDescription", host.
TransactionDescription
);
1976
Assert.Equal("Description1", host.
TransactionDescription
);
1987
Assert.Equal("Description1", host.
TransactionDescription
);
1998
host.
TransactionDescription
.Should().BeNullOrEmpty();
2089
Assert.Equal("Description1", host.
TransactionDescription
);
2100
Assert.Equal("Description1", host.
TransactionDescription
);
2111
host.
TransactionDescription
.Should().BeNullOrEmpty();
System\ComponentModel\Design\DesignSurfaceTests.cs (14)
28
surface.Host.
TransactionDescription
.Should().BeNullOrEmpty();
67
surface.Host.
TransactionDescription
.Should().BeNullOrEmpty();
89
surface.Host.
TransactionDescription
.Should().BeNullOrEmpty();
111
surface.Host.
TransactionDescription
.Should().BeNullOrEmpty();
158
surface.Host.
TransactionDescription
.Should().BeNullOrEmpty();
1213
Assert.Equal("Transaction1", host.
TransactionDescription
);
1217
Assert.Equal("Transaction1", host.
TransactionDescription
);
1223
Assert.Equal("Transaction1", host.
TransactionDescription
);
1332
Assert.Equal("Transaction1", host.
TransactionDescription
);
1336
Assert.Equal("Transaction1", host.
TransactionDescription
);
1342
Assert.Equal("Transaction1", host.
TransactionDescription
);
1357
Assert.Equal("Transaction1", host.
TransactionDescription
);
1361
Assert.Equal("Transaction1", host.
TransactionDescription
);
1367
Assert.Equal("Transaction1", host.
TransactionDescription
);