Closed Andy-Wilkinson closed 10 years ago
Use of 'bool' types in an API can lead to quite difficult to read code. In many cases they can be replaced by enumerations or other types.
See: http://blog.iannelson.systems/back-to-basics-on-the-use-and-abuse-of-the-humble-boolean/
For consideration,
Task INavigationManager.RestoreNavigationStack() Task IActivationManager.Activate(...) Task IActivationHandler.Activate(...)
void OkraBootstrapper.Initialize(bool registerForActivation)
Use of 'bool' types in an API can lead to quite difficult to read code. In many cases they can be replaced by enumerations or other types.
See: http://blog.iannelson.systems/back-to-basics-on-the-use-and-abuse-of-the-humble-boolean/