예제 #1
0
 public DataDictionarySeederController(IReflection reflectionHelper, string assemblyName)
 {
     assemblyName.Guard("AssemblyName must not be empty or null.");
     reflectionHelper.Guard("ReflectionHelper must not be null.");
     _reflectionHelper = reflectionHelper;
     _assemblyName     = assemblyName;
 }
예제 #2
0
        public LookupFactory(IReflection helper, IUnitOfWork unitOfWork, string assemblyName)
        {
            assemblyName.Guard("AssemblyName must not be null");
            unitOfWork.Guard("UnitOfWork must not be null.");
            helper.Guard("ReflectionHelper must not be null.");

            _helper       = helper;
            _unitOfWork   = unitOfWork;
            _assemblyName = assemblyName;
        }
예제 #3
0
        public LinkedCascadeData(IReflection helper, IUnitOfWork unitOfWork, string entityModelType, string domainAssemblyName)
        {
            helper.Guard("ReflectionHelper must not be null.");
            unitOfWork.Guard("UnitOfWork must nit be null.");
            entityModelType.Guard("TypeName must not be null or empty.");
            domainAssemblyName.Guard("DomainAssemblyName must not be null or empty.");

            _helper             = helper;
            _unitOfWork         = unitOfWork;
            _entityModelType    = entityModelType;
            _domainAssemblyName = domainAssemblyName;
        }
예제 #4
0
 public DataDictionaryFactory(IReflection reflectionHelper, string assemblyName)
 {
     reflectionHelper.Guard("IReflection should not be null");
     _reflectionHelper = reflectionHelper;
     _assemblyName     = assemblyName;
 }
예제 #5
0
 public LookupDataFactory(IReflection helper)
 {
     helper.Guard("ReflectionHelper must not be null.");
     _helper = helper;
 }
예제 #6
0
 public GridSchemaFactory(IReflection reflectionHelper, string assemblyName)
 {
     reflectionHelper.Guard("IReflection should not be null");
     _reflectionHelper = reflectionHelper;
     _assemblyName     = assemblyName;
 }