Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 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;
        }
Exemplo n.º 4
0
 public DataDictionaryFactory(IReflection reflectionHelper, string assemblyName)
 {
     reflectionHelper.Guard("IReflection should not be null");
     _reflectionHelper = reflectionHelper;
     _assemblyName     = assemblyName;
 }
Exemplo n.º 5
0
 public LookupDataFactory(IReflection helper)
 {
     helper.Guard("ReflectionHelper must not be null.");
     _helper = helper;
 }
Exemplo n.º 6
0
 public GridSchemaFactory(IReflection reflectionHelper, string assemblyName)
 {
     reflectionHelper.Guard("IReflection should not be null");
     _reflectionHelper = reflectionHelper;
     _assemblyName     = assemblyName;
 }