public bool Equals(Model other) { return(other != null && Name.Equals(other.Name) && ModelAlias.Equals(other.ModelAlias) && OsVersions.Equals(other.OsVersions)); }
public override bool Equals(object obj) { var model = obj as Model; if (model == null) { return(false); } return(Name.Equals(model.Name) && ModelAlias.Equals(model.ModelAlias) && OsVersions.Equals(model.OsVersions)); }