PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 0ms 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. using System;
  18. using Microsoft.Practices.Composite.Modularity;
  19. namespace Microsoft.Practices.Composite.Tests.Mocks.Modules
  20. {
  21. public class MockExposingTypeFromGacAssemblyModule : IModule
  22. {
  23. public void Initialize()
  24. {
  25. throw new NotImplementedException();
  26. }
  27. }
  28. public class SomeContractReferencingTransactionsAssembly : System.Transactions.IDtcTransaction
  29. {
  30. public void Commit(int retaining, int commitType, int reserved)
  31. {
  32. throw new System.NotImplementedException();
  33. }
  34. public void Abort(IntPtr reason, int retaining, int async)
  35. {
  36. throw new System.NotImplementedException();
  37. }
  38. public void GetTransactionInfo(IntPtr transactionInformation)
  39. {
  40. throw new System.NotImplementedException();
  41. }
  42. }
  43. }