Esempio n. 1
0
 private void BuildFactory(IDataServices services)
 {
     if (value != null)
     {
         value = CreateAbstractFactory(services);
     }
 }
Esempio n. 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);
 }