public override bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem)
        {
            if (!(autoCreatedItem is ConfiguredMemberIgnore clonedIgnoredMember))
            {
                return(false);
            }

            return(ConfigInfo.HasSameTypesAs(clonedIgnoredMember) && MembersConflict(clonedIgnoredMember));
        }
        public bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem)
        {
            if (HasMemberFilter)
            {
                return(false);
            }

            var clonedIgnoredMember = (ConfiguredIgnoredMember)autoCreatedItem;

            return(clonedIgnoredMember.HasNoMemberFilter &&
                   ConfigInfo.HasSameSourceTypeAs(clonedIgnoredMember.ConfigInfo) &&
                   ConfigInfo.HasSameTargetTypeAs(clonedIgnoredMember.ConfigInfo) &&
                   MembersConflict(clonedIgnoredMember));
        }
 public bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedDataSourceFactory)
 => ConflictsWith((ConfiguredDataSourceFactory)autoCreatedDataSourceFactory);
Esempio n. 4
0
 public abstract bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem);
 public override bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem) => false;
Esempio n. 6
0
 public bool IsReplacementFor(IPotentialAutoCreatedItem clonedObjectFactory)
 => ConflictsWith((ConfiguredObjectFactory)clonedObjectFactory);
        public bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem)
        {
            var otherSourceValueFilter = (ConfiguredSourceValueFilter)autoCreatedItem;

            return(otherSourceValueFilter.HasOverlappingTypes(this) && FiltersAreTheSame(otherSourceValueFilter));
        }
 public abstract bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedDataSourceFactory);
Esempio n. 9
0
 public override bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedDataSourceFactory)
 => false;