예제 #1
0
        private EtagServices()
        {
            IEtagSerializer simpleSerializer = new PayloadEtagSerializer();
            IEtagSerializer deepSerializer   = new DeepPayloadEtagSerializer();

            _simpleEtagBuilder = new EtagBuilder(new Crc32EtagProvider(simpleSerializer));
            _deepEtagBuilder   = new EtagBuilder(new Crc32EtagProvider(deepSerializer));
        }
예제 #2
0
        private EtagServices()
        {
            IEtagSerializer simpleSerializer = new PayloadEtagSerializer();
            IEtagSerializer deepSerializer = new DeepPayloadEtagSerializer();

            _simpleEtagBuilder = new EtagBuilder(new Crc32EtagProvider(simpleSerializer));
            _deepEtagBuilder = new EtagBuilder(new Crc32EtagProvider(deepSerializer));
        }