Exemple #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()
 })
 {
 }
Exemple #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;
 }