Example #1
0
 public AvroRepository(IAvroFileValueDef <V> valueDef, string rootDirectory, IValueLocationStrategy valueLocationStrategy, Codec.Type codec)
 {
     ValueDef              = Preconditions.CheckNotNullArgument(valueDef);
     RootDirectory         = Preconditions.CheckNotNullArgument(rootDirectory);
     ValueLocationStrategy = Preconditions.CheckNotNullArgument(valueLocationStrategy);
     Codec = codec;
 }
Example #2
0
 public DocumentAvroRepository(string rootDirectory, IValueLocationStrategy valueLocationStrategy, Codec.Type codec)
     : base(DocAvroFileValueDef.Instance, rootDirectory, valueLocationStrategy, codec)
 {
 }