PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/V1/trunk/Source/CAL/Composite.Tests/Mocks/Modules/MockExposingTypeFromGacAssemblyModule.cs

#
C# | 48 lines | 27 code | 5 blank | 16 comment | 0 complexity | 21fe05159087b31cc65cf0f61470df29 MD5 | raw file
 1//===============================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation
 4//===============================================================================
 5// Copyright (c) Microsoft Corporation.  All rights reserved.
 6// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
 7// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
 8// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 9// FITNESS FOR A PARTICULAR PURPOSE.
10//===============================================================================
11// The example companies, organizations, products, domain names,
12// e-mail addresses, logos, people, places, and events depicted
13// herein are fictitious.  No association with any real company,
14// organization, product, domain name, email address, logo, person,
15// places, or events is intended or should be inferred.
16//===============================================================================
17
18using System;
19using Microsoft.Practices.Composite.Modularity;
20
21namespace Microsoft.Practices.Composite.Tests.Mocks.Modules
22{
23    public class MockExposingTypeFromGacAssemblyModule : IModule
24    {
25        public void Initialize()
26        {
27            throw new NotImplementedException();
28        }
29    }
30
31    public class SomeContractReferencingTransactionsAssembly : System.Transactions.IDtcTransaction
32    {
33        public void Commit(int retaining, int commitType, int reserved)
34        {
35            throw new System.NotImplementedException();
36        }
37
38        public void Abort(IntPtr reason, int retaining, int async)
39        {
40            throw new System.NotImplementedException();
41        }
42
43        public void GetTransactionInfo(IntPtr transactionInformation)
44        {
45            throw new System.NotImplementedException();
46        }
47    }
48}