Is this Factory Method creation pattern?

前端 未结 20 829
再見小時候
再見小時候 2020-12-12 17:12

I have been using factory method creation pattern for awhile now. I was just recently told that this:

public static class ScheduleTypeFactory
{
    public st         


        
20条回答
  •  春和景丽
    2020-12-12 17:45

    Looks like a factory pattern to me. Tell your tech lead you don't have time to explain why she is wrong.

提交回复
热议问题