public void SetupContext()
        {
            var viewer = new ContextViewer();
            var dictionary = new Dictionary<Type, object>();

            _testMappingContext = new TestMappingContext();
            dictionary.Add(typeof(TestMappingContext), _testMappingContext);

            View = viewer.Create(dictionary);
        }
Example #2
0
        public void SetupContext()
        {
            var viewer     = new ContextViewer();
            var dictionary = new Dictionary <Type, object>();

            _testMappingContext = new TestMappingContext();
            dictionary.Add(typeof(TestMappingContext), _testMappingContext);

            View = viewer.Create(dictionary);
        }