Example #1
0
        protected DataProviderTokenDependentBase(DataProviderCreationInfo info)
        {
            Info = info;

            if (info.ServiceTokenProvider == null)
            {
                info.ServiceTokenProvider = new ServiceTokenProviderEmpty();
            }

            Debug.Assert(info.ServiceProvider.ServiceType == EbayServiceType.Trading);
            var sp = info.ServiceProvider as IEbayServiceProvider <eBayAPIInterfaceService>;

            Service = sp.GetService(CallProcedureName, ApiVersion, info.ServiceTokenProvider);
        }
Example #2
0
 protected DataProviderTokenDependentBaseTyped(DataProviderCreationInfo info)
     : base(info)
 {
 }