コード例 #1
0
        public void ComponentGroupGUI_SpecifiedTypeName_NestedGenericTypeInGeneric()
        {
            var typeName = ComponentGroupGUI.SpecifiedTypeName(typeof(GenericClassTest <object> .InternalGenericClass <int, bool>));

            Assert.AreEqual("GenericClassTest<Object>.InternalGenericClass<Int32, Boolean>", typeName);
        }
コード例 #2
0
        public void ComponentGroupGUI_SpecifiedTypeName_NestedTypeInGeneric()
        {
            var typeName = ComponentGroupGUI.SpecifiedTypeName(typeof(GenericClassTest <object> .InternalClass));

            Assert.AreEqual("GenericClassTest<Object>.InternalClass", typeName);
        }