public Domain(AccessPoint typeAP) { TypeAp = typeAP; InBlock = new List <Block>(); OutBlock = new List <Block>(); }
public virtual bool EqualsAP(AccessPoint ap) { if (TypeStr == ap.TypeStr) { if (TypeStr == "array") { var listAp = ap.Include.ToArray(); foreach (var accessPoint in Include) { var tmp = listAp.FirstOrDefault(a => a.EqualsAP(accessPoint)); if (tmp == null) { return(false); } } } return(true); } return(false); }
public override bool EqualsAP(AccessPoint ap) { return(Object.EqualsAP(ap)); }