コード例 #1
0
 private void BuildFactory(IDataServices services)
 {
     if (value != null)
     {
         value = CreateAbstractFactory(services);
     }
 }
コード例 #2
0
 /// <summary>
 ///  Returns the domain factory
 /// </summary>
 /// <param name="services">Services to be loaded.</param>
 /// <returns></returns>
 public static AbstractDomainWrapperFactory GetFactory(IDataServices services)
 {
     if (value == null)
     {
         value = new AbstractDomainWrapperFactory(services);
     }
     return(value);
 }