sskodje / wpfchrometabs-mvvm

A tab control based on WPF chrome tabs, modified to work with the MVVM pattern
MIT License
256 stars 60 forks source link

Code improvement #19

Closed ShreyasJejurkar closed 6 years ago

ShreyasJejurkar commented 6 years ago
  1. Removed redundant else keyword
  2. Removed unused directives in file
  3. Simplified switch case block by removing some redundant code
  4. Used expression bodied syntax
  5. Removed redundant constructor delegate call
  6. Used null propagation
  7. Removed redundant else keyword
  8. Used object initializer syntax
  9. Used direct cast
  10. Used pattern matching
  11. Use of collection initializer syntax
  12. Use of local functions;
  13. Removed redundant comparisons
  14. Used inline temporary variable
  15. Removed redundant type reference.
sskodje commented 6 years ago

Looks good. Thanks for contributing! I'll probably merge it in later today along with some other changes.