Mid GoF Patterns

Abstract Factory Interface:?

  • The IUIFactory interface defines methods for creating abstract product

types like buttons and checkboxes. This ensures that every concrete factory

will implement the same methods, but each will provide platform-specific

products.

public interface IUIFactory

IButton CreateButton();

ICheckbox CreateCheckbox();

More from Design Patterns in C#

All questions for this course