예제 #1
0
        public CocoFromSourceBuilder(ICocoSource <TDto> source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            this.source = source;
        }
예제 #2
0
        public IFromSourceBuilder <TDto> FromSource(ICocoSource <TDto> source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            return(new CocoFromSourceBuilder <TDto>(source));
        }