Is your feature request related to a problem? Please describe.
An easy to use way to reject specific countries.
Describe the solution you'd like
IbanNet provides an AcceptCountryRule to explicitly limit accepted countries. It would be nice to be able to do the exact opposite and be able to explicitly reject specific countries.
Describe alternatives you've considered
Build my own rule in my own application
Limit the registry by building a new IbanRegistry, by adding a filtered SwiftRegistryProvider (eg. new SwiftRegistryProvider().Where(x => x.CountryCode != ..).
Is your feature request related to a problem? Please describe. An easy to use way to reject specific countries.
Describe the solution you'd like IbanNet provides an
AcceptCountryRule
to explicitly limit accepted countries. It would be nice to be able to do the exact opposite and be able to explicitly reject specific countries.Describe alternatives you've considered
IbanRegistry
, by adding a filteredSwiftRegistryProvider
(eg.new SwiftRegistryProvider().Where(x => x.CountryCode != ..)
.Additional context N/A