Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NeosModLoader/Utility/EnumerableInjector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class EnumerableInjector<TOriginal, TTransformed> : IEnumerable<TTransfor
private Action<TOriginal, TTransformed, bool> postItem = (original, transformed, returned) => { };
private Action prefix = () => { };
private Func<TOriginal, bool> preItem = item => true;
private Func<TOriginal, TTransformed> transformItem = item => throw new NotImplementedException("You're supposed to inser your own transformation function here!");
private Func<TOriginal, TTransformed> transformItem = item => throw new NotImplementedException("You're supposed to insert your own transformation function here!");

/// <summary>
/// Gets called when the wrapped enumeration returned the last item.
Expand Down Expand Up @@ -174,4 +174,4 @@ public EnumerableInjector(IEnumerator<T> enumerator)
: base(enumerator, item => item)
{ }
}
}
}