Exemplo n.º 1
0
        /// <summary>
        /// Determines whether a given strategy is applicable for a specific country.
        /// </summary>
        /// <param name="country">Country to check for.</param>
        /// <returns>true if the strategy is applicable for the specified country; false otherwise.</returns>
        public bool IsApplicableTo(IsoCountryCode country)
        {
            Region applicableRegions = GetApplicableRegions();

            Region targetRegion = Regions.GetRegionForCountry(country);

            return((applicableRegions & targetRegion) != 0);
        }