public static class Extension
{
public static IEnumerable<ObjectId> Concat(this ObjectIdCollection ids, IEnumerable<ObjectId> otherIds)
{
return ids.Cast<ObjectId>().Concat(otherIds);
}
public static IEnumerable<ObjectId> Concat(this ObjectIdCollection ids, ObjectIdCollection otherIds)
{
return ids.Concat(otherIds.Cast<ObjectId>());
}
}