Пример #1
0
 public bool Equals(TaxaUnitType other)
 {
     if (other != null)
     {
         return(this.Identity.Equals(other.Identity));
     }
     return(false);
 }
 public bool Delete(TaxaUnitType unitType)
 {
     if (unitType != null)
     {
         return(this.Delete(unitType.Identity));
     }
     return(false);
 }
 public abstract bool CanUpdate(TaxaUnitType unitType);
 public abstract bool CanDelete(TaxaUnitType unitType);
 public abstract TaxaUnitType GetParent(TaxaDomain domain, TaxaUnitType child);
 public abstract IEnumerable <TaxaUnitType> GetDescendants(TaxaDomain domain, TaxaUnitType taxaUnitType);
 public abstract IEnumerable <TaxaUnitType> GetChildren(TaxaDomain domain, TaxaUnitType parent);
 public abstract bool IsParentOf(TaxaDomain domain, TaxaUnitType parent, TaxaUnitType child);
 public abstract bool IsAncestorOf(TaxaDomain domain, TaxaUnitType parent, TaxaUnitType child);