PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/V1/spikes/AGCompositeApplicationLibrary/AGComposite.UnityExtensions.Tests/Mocks/MockRegionManager.cs

#
C# | 45 lines | 23 code | 6 blank | 16 comment | 0 complexity | 42629176389014fe54f7f245ff2c650e MD5 | raw file
 1//===============================================================================
 2// Microsoft patterns & practices
 3// Composite Application Guidance for Windows Presentation Foundation and Silverlight
 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 System.Collections.Generic;
20using Microsoft.Practices.Composite.Regions;
21
22namespace Microsoft.Practices.Composite.UnityExtensions.Tests.Mocks
23{
24    class MockRegionManager : IRegionManager
25    {
26        #region IRegionManager Members
27
28        public IDictionary<string, IRegion> Regions
29        {
30            get { throw new NotImplementedException(); }
31        }
32
33        public void AttachNewRegion(object regionTarget, string regionName)
34        {
35            throw new NotImplementedException();
36        }
37
38        public IRegionManager CreateRegionManager()
39        {
40            throw new NotImplementedException();
41        }
42
43        #endregion
44    }
45}