Пример #1
0
        internal static IStructureSchema CreateRealFrom <T>() where T : class
        {
            var structureType = StructureTypeTestFactory.CreateFor <T>();
            var factory       = new StructureSchemaFactory();

            return(factory.CreateSchema(structureType));
        }
Пример #2
0
 //Dear lord, give me strength to instead fully mock the hiearchy of... I tried, but I gave up
 private IStructureType GetStructureTypeFor <T>() where T : class => StructureTypeTestFactory.CreateFor <T>();