erdomke/Innovator.Client

FirstOrNullItem returns null in some cases

Closed this issue · 0 comments

IEnumerable<IPropertyDefinition>.FirstOrNullItem() will return null instead of a null item
Workaround is: IEnumerable<IPropertyDefinition>.FirstOrDefault() ?? Item.GetNullItem<Property>()