コード例 #1
0
        public static DeliveryOptionCollection GetOptions(PackageInfo package)
        {
            LoadProviders();
            DeliveryOptionCollection options = new DeliveryOptionCollection();

            //if there are no restrictions, hit every provider and return the collection
            foreach (FulfillmentProvider provider in _providers)
            {
                options.Combine(provider.GetDeliveryOptions(package));
            }
            return(options);
        }