Exemplo n.º 1
0
 /// <summary>
 /// Create new instance.
 /// </summary>
 /// <param name="config">See <see cref="KadasterConfig"/>.</param>
 public KadasterBag(KadasterConfig config)
     : this(config, new BagRemoteProcedure(baseUrl, config.AuthKey)
 {
     JsonSerialzer = new JsonNetSerializer()
 })
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create new instance.
 /// </summary>
 /// <param name="config">See <see cref="KadasterConfig"/>.</param>
 /// <param name="procedure">Instance of <see cref="IRemoteProcedure"/>.</param>
 public KadasterBag(KadasterConfig config, IRemoteProcedure procedure)
 {
     Config        = config;
     procInterface = procedure;
 }