Guard() public static method

public static Guard ( Type type ) : void
type System.Type
return void
示例#1
0
        public TableInfo TableInfoForType(Type type)
        {
            PocoDataFactory.Guard(type);
            var pocoDataBuilder = _pocoDatas.Get(type, () => BaseClassFalbackPocoDataBuilder(type));

            return(pocoDataBuilder.BuildTableInfo());
        }
示例#2
0
        public TableInfo TableInfoForType(Type type)
        {
            PocoDataFactory.Guard(type);
            var pocoDataBuilder = _pocoDatas.Get(type, () => Resolver(type, this));

            return(pocoDataBuilder.BuildTableInfo());
        }