DISQUS

DISQUS Hello! Andrey Shchekin's Blog is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

DI Framework Challenges, 1: Simple Factories

Started by Andrey Shchekin · 1 year ago

I am not sure what is the exact name for this pattern (probably Factory Method), but I often have a situation where I have to select a specific derived type based on some parameters.

For example, I may have a SyncFactory with CreateSync method that creates a Sync based on number of parameters.

public class SyncFactory {

[…] ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login