예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateToManyGenericRegistrations" /> class.
        /// </summary>
        public CreateToManyGenericRegistrations(
            IConvertHelperFactory <SourceTreeLeaf, TargetTreeLeaf, TargetTreeLeaf, IForTest> convertHelperFactory)
        {
            convertHelperFactory.NotNull(nameof(convertHelperFactory));

            this.convertHelperFactory = convertHelperFactory;
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeToTargetTreeConvertRegistrations" /> class.
 /// </summary>
 public TreeToTargetTreeConvertRegistrations(
     IConvertHelperFactory <SourceTreeLeaf, TargetTreeLeaf, TargetTreeLeaf, IForTest> treeLeafConvertHelperFactory,
     IConvertHelperFactory <SourceTreeHistLeaf, TargetTreeHistLeaf, TargetTreeHistLeaf, IForTest> treeHistLeafConvertHelperFactory)
 {
     this.treeLeafConvertHelperFactory     = treeLeafConvertHelperFactory;
     this.treeHistLeafConvertHelperFactory = treeHistLeafConvertHelperFactory;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateToOneHistWithConditionRegistrations" /> class.
        /// </summary>
        public CreateToOneHistWithConditionRegistrations(
            IConvertHelperFactory <SourceTreeHist, TargetTreeHist, TargetTreeHist, IForTest> convertHelperFactory)
        {
            convertHelperFactory.NotNull(nameof(convertHelperFactory));

            this.convertHelperFactory = convertHelperFactory;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateToOneWithRelationAndTargetRegistrations" /> class.
        /// </summary>
        public CreateToOneWithRelationAndTargetRegistrations(
            IConvertHelperFactory <IdDto, TargetTree, TargetTree, IForTest> convertHelperFactory)
        {
            convertHelperFactory.NotNull(nameof(convertHelperFactory));

            this.convertHelperFactory = convertHelperFactory;
        }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RootToTargetRootConvertRegistrations" /> class.
 /// </summary>
 public RootToTargetRootConvertRegistrations(
     IConvertHelperFactory <SourceTree, TargetTree, TargetTree, IForTest> treeConvertHelperFactory,
     IConvertHelperFactory <MasterData, TargetMasterData, TargetMasterData, IForTest> masterDataConvertHelperFactory)
 {
     this.treeConvertHelperFactory       = treeConvertHelperFactory;
     this.masterDataConvertHelperFactory = masterDataConvertHelperFactory;
 }
예제 #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TreeLeafToTargetTreeLeafConvertRegistrations" /> class.
        /// </summary>
        public TreeLeafToTargetTreeLeafConvertRegistrations(
            IConvertHelperFactory<SourceTreeLeaf, TargetTreeLeafChild, TargetTreeLeafChild, IForTest> convertHelperFactory)
        {
            convertHelperFactory.NotNull(nameof(convertHelperFactory));

            this.convertHelperFactory = convertHelperFactory;
        }