Mid GoF Patterns

Abstract Factory (LoggerFactory):?

  • The LoggerFactory class defines a factory method CreateLogger that

returns an ILogger object. This is a generic interface for creating various

Follow:

logger types without specifying the concrete class directly.

More from Design Patterns in C#

All questions for this course