aboutsummaryrefslogtreecommitdiff
path: root/src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs
diff options
context:
space:
mode:
authorBevan Weiss <bevan.weiss@gmail.com>2025-01-03 15:14:49 +1100
committerRob Mensching <rob@firegiant.com>2025-02-11 14:55:39 -0800
commitc49432f7d39dfe7fedc722b85cd1162bd5096ac1 (patch)
tree5f319208fffbb2a9215af627f7ee21a2425ece0e /src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs
parent254196975c1f82bf7079a9d56b5417f5da9d8d76 (diff)
downloadwix-c49432f7d39dfe7fedc722b85cd1162bd5096ac1.tar.gz
wix-c49432f7d39dfe7fedc722b85cd1162bd5096ac1.tar.bz2
wix-c49432f7d39dfe7fedc722b85cd1162bd5096ac1.zip
Migrate COM+ E2E tests from raw binaries to source code.
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
Diffstat (limited to 'src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs')
-rw-r--r--src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs b/src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs
new file mode 100644
index 00000000..7aabd169
--- /dev/null
+++ b/src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs
@@ -0,0 +1,30 @@
1using System;
2using System.EnterpriseServices;
3using System.Runtime.InteropServices;
4
5[assembly: ApplicationActivation(ActivationOption.Library)]
6namespace TestApplication
7{
8 /// <summary>
9 /// TestComponent
10 /// </summary>
11 [ComVisible(true)]
12 [Transaction(TransactionOption.Required)]
13 [ObjectPooling(true, 5, 10)]
14 [Guid("146AB3A2-4472-4DB9-94D5-311536E799BD")]
15 public class TestComponent4 : ServicedComponent
16 {
17 public TestComponent4()
18 {
19 //
20 // TODO: Add constructor logic here
21 //
22 }
23
24 [AutoComplete(true)]
25 public void TestMethod(string Name, string Address, int JobType, bool MakeFail)
26 {
27
28 }
29 }
30}