Пример #1
0
 /// <summary>
 /// Setup the service
 /// </summary>
 public EbayService(IEbayProperties properties, IEbaySecurity security, IEbaySelling selling)
     : base(properties)
 {
     if (properties == null) {throw new NotImplementedException("IEbayProperties");}
     if (security == null)   {throw new NotImplementedException("IEbaySecurity");}
     if (selling == null)    {throw new NotImplementedException("IEbaySelling");}
     Security = security;
     Sales = selling;
 }
Пример #2
0
 /// <summary>
 /// Setup the service
 /// </summary>
 public EbayService(IEbayProperties properties, IEbaySecurity security, IEbaySelling selling)
     : base(properties)
 {
     if (properties == null)
     {
         throw new NotImplementedException("IEbayProperties");
     }
     if (security == null)
     {
         throw new NotImplementedException("IEbaySecurity");
     }
     if (selling == null)
     {
         throw new NotImplementedException("IEbaySelling");
     }
     Security = security;
     Sales    = selling;
 }