static TransactionServiceAgent()
 {
     Register(() =>
     {
         var rd = WebApiServiceAgentManager.Get <TransactionServiceAgent>();
         return(rd == null ? null : new TransactionServiceAgent(rd.Client, rd.BeforeRequest !));
     }, false);
 }
 /// <summary>
 /// Static constructor.
 /// </summary>
 static ReferenceDataServiceAgent()
 {
     Register(() =>
     {
         var rd = WebApiServiceAgentManager.Get <ReferenceDataServiceAgent>();
         return(rd == null ? null : new ReferenceDataServiceAgent(rd.Client, rd.BeforeRequest));
     }, false);
 }
 /// <summary>
 /// Static constructor.
 /// </summary>
 static ProductServiceAgent()
 {
     Register(() =>
     {
         var rd = WebApiServiceAgentManager.Get <ProductServiceAgent>();
         return(rd == null ? null : new ProductServiceAgent(rd.Client, rd.BeforeRequest));
     }, false);
 }
Exemple #4
0
 static CustomerGroupServiceAgent()
 {
     Register(() =>
     {
         var rd = WebApiServiceAgentManager.Get <CustomerGroupServiceAgent>();
         return(rd == null ? null : new CustomerGroupServiceAgent(rd.Client, rd.BeforeRequest !));
     }, false);
 }