Esempio n. 1
0
 public AerospikeEntityMapper(IAeroTypeSupport aeroTypeSupport, ISerializer serializer, IBinaryPresenter binaryPresenter = null)
 {
     _serializer      = serializer;
     _binaryPresenter = binaryPresenter;
     _aeroTypeSupport = aeroTypeSupport;
 }
 public AerospikeRepository(AsyncClient aerospikeClient, string ns, IAeroTypeSupport aeroTypeSupport)
     : this(aerospikeClient, ns, new AerospikeEntityMapper(aeroTypeSupport), new DefaultIndexNameResolver())
 {
 }
Esempio n. 3
0
 public AerospikeEntityMapper(IAeroTypeSupport aeroTypeSupport) : this(aeroTypeSupport, new BinaryFormatterSerializer())
 {
 }
 public AerospikeRepository(AsyncClient aerospikeClient, string ns, IAeroTypeSupport aeroTypeSupport, ISerializer serializer, IBinaryPresenter binaryPresenter)
     : this(aerospikeClient, ns, new AerospikeEntityMapper(aeroTypeSupport, serializer, binaryPresenter), new DefaultIndexNameResolver())
 {
 }