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

            this.aIDProperty = GeneralRulesHelper <TType> .GetIdProperty(mergerImplementation);
        }
 public UnorderedCollectionDiff(MergerImplementation mergerImplementation)
 {
 }
示例#14
0
 public MergeKeyValueCollectionDiffs(MergerImplementation mergerImplementation)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aComparer             = EqualityComparer <TKeyType> .Default;
 }
示例#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);
        }
示例#17
0
 public ApplyValuePatch(MergerImplementation mergerImplementation, IAlgorithmRules rules)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aRules = rules;
     this.aTypes = new Dictionary <Type, IApplyPatchAlgorithm>();
 }
示例#18
0
 public MergeValueDiffs(MergerImplementation mergerImplementation, IAlgorithmRules rules)
 {
     this.aMergerImplementation = mergerImplementation;
     this.aRules = rules;
 }