Пример #1
0
        public PocoData ForType(Type type)
        {
            Guard(type);
            PocoDataBuilder pocoDataBuilder = _pocoDatas.Get(type, () => new PocoDataBuilder(type, this._mapper).Init());

            return(pocoDataBuilder.Build());
        }
Пример #2
0
        public PocoData ForType(Type type)
        {
            PocoDataFactory.Guard(type);
            PocoDataBuilder pocoDataBuilder = this._pocoDatas.Get(type, () => this.Resolver(type, this));

            return(pocoDataBuilder.Build());
        }