-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top Level Groups Enumeration #563
Conversation
+added a WhereNotNull IEnumerable extension *also changed the list collection type to an immutable array
rebased on dev and removed the doc commits from the other pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -4,6 +4,11 @@ namespace Mutagen.Bethesda; | |||
|
|||
internal static class EnumerableExt | |||
{ | |||
public static IEnumerable<T> WhereNotNull<T>(this IEnumerable<T?> enumer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already got an extension like this over in https://github.com/Noggog/CSharpExt/blob/89a5e0918ae8a212b592b890a5b62ca1209f2120/Noggog.CSharpExt/Extensions/EnumerableExt.cs#L257
But I do like the Where__
naming better. Feel free to open a PR over there, and mark the old ones obsolete
Ah, i can handle the small tweaks. Like i mentioned, gonna remove the new WhereNotNull method, but feel free to add to CSharpExt if you feel inspired to do so |
+added WhereNotNull IEnumerable Extension
+added GetTopLevelMajorRecordTypes to MajorRecordTypeEnumerator
+added to cheatsheat
*changed cache list type to immutableArray