Skip to content

Commit 7bce970

Browse files
committed
Net even leesbaarder
1 parent 4d58df6 commit 7bce970

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ProgressOnderwijsUtils/Pocos/PocoProperties.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ public Type PocoType
3737

3838
public bool TryGetByName(string name, [NotNullWhen(true)] out IPocoProperty<T>? property)
3939
{
40-
property = IndexByName.TryGetValue(name, out var index)
41-
? Properties[index]
42-
: null;
40+
property = IndexByName.TryGetValue(name, out var index) ? Properties[index] : null;
4341
return property != null;
4442
}
4543

0 commit comments

Comments
 (0)