Ejemplo n.º 1
0
 /// <summary>
 /// Default Constructor.
 /// </summary>
 /// <param name="security"></param>
 public BaseClient(IHachetteSecurity security)
 {
     this.Security        = security;
     this.assemblyVersion = GetVersion();
     this.container       = null;
     this.container       = new SimpleContainer()
                            .Register(new EndpointModule())
                            .Build();
     this.Endpoint = this.container.GetService <IEndpoint>();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="security">HUK Security details.</param>
 public RestClient(IHachetteSecurity security) :
     base(security)
 {
 }