diff options
Diffstat (limited to 'src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs')
| -rw-r--r-- | src/test/msi/TestData/ComPlusExtensionTests/Components/TestComponentNET4/TestComponentNET4.cs | 30 |
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 @@ | |||
| 1 | using System; | ||
| 2 | using System.EnterpriseServices; | ||
| 3 | using System.Runtime.InteropServices; | ||
| 4 | |||
| 5 | [assembly: ApplicationActivation(ActivationOption.Library)] | ||
| 6 | namespace 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 | } | ||
