What
are the different Structural Design Patterns that can be used in .NET
Architecture?
Structural
patterns are useful when you prefer to combine classes and objects to
create larger structures.
Different structural patterns supported by .NET are listed below:
Adapter
Pattern: This pattern is used to match a class interface with another.
Composite Pattern: This pattern is used to create composite
object which contains a set of object within itself. Object contained
in the composite object can also be a composite object.
Proxy Pattern: This pattern is used to create a proxy object
which will be substituted in place of a complex object until the later
is getting invoked.
Flyweight Pattern: This pattern is useful when you want
to share objects, wherein the objects will be stored in an external location
and they do not contain their own state.
Façade Pattern: This pattern is useful when you want
to represent an entire system or subsystem using a single class.
Bridge Pattern: This pattern is used to separate implementation
from interface of an object.
Decorator Pattern: This pattern is useful when you want
to associate responsibilities to corresponding objects at runtime.