Example #1
0
        // Constructors
        public ReflectGroupRepository(IReflectRepository repository)
        {
            #region Contracts

            if (repository == null)
            {
                throw new ArgumentNullException();
            }

            #endregion

            // Arguments
            _repository = repository;
        }
Example #2
0
        // Constructors
        internal ReflectGroup(IReflectRepository repository, string groupName)
        {
            #region Contracts

            if (repository == null) throw new ArgumentNullException();
            if (string.IsNullOrEmpty(groupName) == true) throw new ArgumentNullException();

            #endregion

            // Arguments
            _repository = repository;
            _groupName = groupName;

            // ReflectBuilderDictionary
            IReflectBuilderRepository reflectBuilderRepository = null;
            reflectBuilderRepository = new ReflectBuilderRepository(repository, groupName);
            this.ReflectBuilders = new ReflectBuilderDictionary(reflectBuilderRepository);
        }
Example #3
0
        // Constructors
        public ReflectBuilderRepository(IReflectRepository repository, string groupName)
        {
            #region Contracts

            if (repository == null)
            {
                throw new ArgumentNullException();
            }
            if (string.IsNullOrEmpty(groupName) == true)
            {
                throw new ArgumentNullException();
            }

            #endregion

            // Arguments
            _repository = repository;
            _groupName  = groupName;
        }
Example #4
0
        // Constructors
        internal ReflectGroup(IReflectRepository repository, string groupName)
        {
            #region Contracts

            if (repository == null)
            {
                throw new ArgumentNullException();
            }
            if (string.IsNullOrEmpty(groupName) == true)
            {
                throw new ArgumentNullException();
            }

            #endregion

            // Arguments
            _repository = repository;
            _groupName  = groupName;

            // ReflectBuilderDictionary
            IReflectBuilderRepository reflectBuilderRepository = null;
            reflectBuilderRepository = new ReflectBuilderRepository(repository, groupName);
            this.ReflectBuilders     = new ReflectBuilderDictionary(reflectBuilderRepository);
        }
Example #5
0
 public ConfigReflectContext(IReflectRepository reflectRepository, SettingContext settingContext) : base(reflectRepository, settingContext)
 {
 }
Example #6
0
        // Constructors
        public ReflectGroupRepository(IReflectRepository repository)
        {
            #region Contracts

            if (repository == null) throw new ArgumentNullException();

            #endregion

            // Arguments
            _repository = repository;
        }