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);
public abstract bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem);
public override bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedItem) => false;
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);
public override bool IsReplacementFor(IPotentialAutoCreatedItem autoCreatedDataSourceFactory) => false;