public bool Equals(Dependency other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Name, Name) && other.IsMandatory.Equals(IsMandatory); }
public void AddDependency(Dependency dependency) { _dependencies.Fill(dependency); }