/// <summary> /// Constructor /// </summary> public BaseTypesByteExtractor() { _collection = new ByteExtractorsCollection(); var primitiveByteExtractor = new PrimitiveByteExtractor(); _collection.Add(primitiveByteExtractor); _collection.Add(new StringByteExtractor()); _collection.Add(new DateTimeByteExtractor()); _collection.Add(new EnumByteExtractor(primitiveByteExtractor)); _collection.Add(new EnumerableByteExtractor(_collection)); }
public EnumByteExtractor(PrimitiveByteExtractor primitiveByteExtractor) { _primitiveByteExtractor = primitiveByteExtractor; }