public bool Equals(IWorkspaceItem other) { if (other == null) { return false; } return ID == other.ID && EnvironmentID == other.EnvironmentID; }