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