Inheritance: TargetBase, IBindingContainer, IDependencyContainer, ICloneable
Exemple #1
0
 /// <inheritdoc/>
 protected bool Equals(Element other)
 {
     if (other == null) return false;
     return base.Equals(other) &&
            other.Version == Version && other.VersionModifier == VersionModifier && other.Released == Released && other.ReleasedVerbatim == ReleasedVerbatim && other.License == License && other.Main == Main && other.SelfTest == SelfTest && other.DocDir == DocDir &&
            Commands.UnsequencedEquals(other.Commands) && Dependencies.UnsequencedEquals(other.Dependencies) && Restrictions.UnsequencedEquals(other.Restrictions) && Bindings.UnsequencedEquals(other.Bindings);
 }
 private static void CopyValues(Element from, ExternalImplementation to)
 {
     to.Commands.AddRange(from.Commands);
     to.Bindings.AddRange(from.Bindings);
 }