Esempio n. 1
0
        public void GetByQualifiedName_ForTypeInDefaultNamespace()
        {
            sut = new TypeRepository(RuntimeTypeSource, new TypeFactoryDummy(), new TypeFeatureProviderDummy());

            var xamlType = sut.GetByQualifiedName("DummyClass");

            Assert.Equal(xamlType.UnderlyingType, typeof(DummyClass));
        }
Esempio n. 2
0
        public void GetByQualifiedName_ForTypeInDefaultNamespace()
        {
            sut = new TypeRepository(RuntimeTypeSource, new TypeFactoryDummy(), new TypeFeatureProviderDummy());

            var xamlType = sut.GetByQualifiedName("DummyClass");

            Assert.Equal(xamlType.UnderlyingType, typeof(DummyClass));
        }
Esempio n. 3
0
 public XamlType GetByQualifiedName(string qualifiedName)
 {
     return(TypeRepository.GetByQualifiedName(qualifiedName));
 }