コード例 #1
0
 public RecipeRepositoryUsingAbstractFactory(ILogFactory logFactory, IClockFactory clockFactory)
 {
     Log   = logFactory.Get();
     Clock = clockFactory.Get();
 }
コード例 #2
0
 internal static ILog For <T>()
 {
     return(_factory.Get(typeof(T)));
 }