Source/NFX.Web/Shipping/ShippingSession.cs
/// <summary>
/// Returns all the carriers allowed for the system
/// </summary>
Returns all the carriers allowed for the system
Returns all the carriers allowed for the system
public IEnumerable<ShippingCarrier> GetShippingCarriers(IShippingContext context)
    {
      if (!m_ShippingSystem.Capabilities.SupportsCarrierServices)
        throw new ShippingException(StringConsts.SHIPPING_SYSTEM_UNSUPPORTED_ACTION.Args("GetShippingCarriers"));
      return m_ShippingSystem.GetShippingCarriers(this, context);
    }
public IEnumerable < ShippingCarrier > GetShippingCarriers ( IShippingContext context ) { if ( ! m_ShippingSystem . Capabilities . SupportsCarrierServices ) throw new ShippingException ( StringConsts . SHIPPING_SYSTEM_UNSUPPORTED_ACTION . Args ( " " ) ) ; return m_ShippingSystem . GetShippingCarriers ( this , context ) ; }
Returns all the carriers allowed for the system
Returns all the carriers allowed for the system
context
IShippingContext