Mid From PDF GoF Patterns Gang of Four Patterns

Creator (LoggerFactory):?

  • This is an abstract class that declares the CreateLogger method, which is
intended to return an ILogger instance. The actual instantiation is delegated

to subclasses.

public abstract class LoggerFactory
{
public abstract ILogger CreateLogger();
}

More from Design Patterns in C#

All questions for this course
Toolliyo Assistant
Ask about tutorials, ebooks, training, pricing, mentor services, and support. I use public site content only—not admin or internal tools.

care@toolliyo.com

Need callback? Share your details