Skip to content

This is an example of impementation Composite and Chain of Responsibility patterns for modeling folder catalog.

Notifications You must be signed in to change notification settings

SoloveyTimofey/File-Catalog--Implementation-of-Composite-and-Chain-of-Responsibility-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pattern files are located in DirectoryCatalog/Composite and DirectoryCatalog/ChainOfResponsibility folders. GUI is developed on WPF platform, but part of WPF doesn't have mush value from a code point of view, because i wasn't interested of creating quality WPF code, but was interested in implementing these patterns for modeling file catalog.

In brief, Composite pattern is responsible for creating tree structure where Directories are branches, and Files are leaves.

And Chain of Responsibility pattern is responsible for traversing each element of the structure to find a match based on the name and file type criteria.

About

This is an example of impementation Composite and Chain of Responsibility patterns for modeling folder catalog.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages