Esempio n. 1
0
 public ClassDiff(MergerImplementation mergerImplementation, IEnumerable <Property> ignoreProperties, IEnumerable <Property> alwaysIncludedProperties)
 {
     this.aMergerImplementation     = mergerImplementation;
     this.aIgnoreProperties         = new HashSet <Property>(ignoreProperties);
     this.aAlwaysIncludedProperties = new HashSet <Property>(alwaysIncludedProperties);
     this.aCompiled = null;
 }
        public MergeUnorderedCollectionDiffs(MergerImplementation mergerImplementation)
        {
            this.aMergerImplementation = mergerImplementation;

            this.aIdProperty = GeneralRulesHelper <TItemType> .GetIdProperty(mergerImplementation);

            this.aComparer = EqualityComparer <TIdType> .Default;
        }
Esempio n. 3
0
        public OrderedCollectionDiff(MergerImplementation mergerImplementation)
        {
            this.aMergerImplementation = mergerImplementation;

            this.aIsTheSame = null;

            this.aIDProperty = GeneralRulesHelper <TItemType> .GetIdProperty(mergerImplementation);
        }
        public ApplyUnorderedCollectionWithIdPatch(MergerImplementation mergerImplementation)
        {
            this.aMergerImplementation = mergerImplementation;

            this.aIdProperty = GeneralRulesHelper <TItemType> .GetIdProperty(mergerImplementation);

            this.aApplyItemDiff = null;
        }
Esempio n. 5
0
 public MergeClassDiffs(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
 }
Esempio n. 6
0
 public MergeOrderedCollectionDiffs(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aMergeItemsDiffs      = null;
 }
 public ApplyUnorderedCollectionPatch(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
 }
Esempio n. 8
0
 public BaseClassDiff(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aTypes = new Dictionary <Type, IDiffAlgorithm>();
 }
Esempio n. 9
0
 void IAlgorithmRules.Initialize(MergerImplementation mergerImplementation)
 {
     this.MergerImplementation = mergerImplementation;
 }
Esempio n. 10
0
 public ApplyKeyValueCollectionPatch(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aConvertor            = null;
     this.aApplyItemDiff        = null;
 }
Esempio n. 11
0
 public static Property GetIdProperty(MergerImplementation mergerImplementation)
 {
     return(GeneralRulesHelper.GetIdProperty(mergerImplementation, typeof(TType)));
 }
Esempio n. 12
0
        public ValueDiff(MergerImplementation mergerImplementation)
        {
            this.aMergerImplementation = mergerImplementation;

            this.aIDProperty = GeneralRulesHelper <TType> .GetIdProperty(mergerImplementation);
        }
 public UnorderedCollectionDiff(MergerImplementation mergerImplementation)
 {
 }
Esempio n. 14
0
 public MergeKeyValueCollectionDiffs(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aComparer             = EqualityComparer <TKeyType> .Default;
 }
Esempio n. 15
0
 public ApplyClassPatch(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aCompiled             = null;
 }
        public UnorderedCollectionWithIdDiff(MergerImplementation mergerImplementation)
        {
            this.aMergerImplementation = mergerImplementation;

            this.aIdProperty = GeneralRulesHelper <TItemType> .GetIdProperty(mergerImplementation);
        }
Esempio n. 17
0
 public ApplyValuePatch(MergerImplementation mergerImplementation, IAlgorithmRules rules)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aRules = rules;
     this.aTypes = new Dictionary <Type, IApplyPatchAlgorithm>();
 }
Esempio n. 18
0
 public MergeValueDiffs(MergerImplementation mergerImplementation, IAlgorithmRules rules)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aRules = rules;
 }