This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EfficientIterator<TOne, TTwo> | |
{ | |
private Action<TOne, TTwo> always = (one, two) => { }; | |
private Action<TOne, TTwo> match = (one, two) => { }; | |
private Action<TOne> oneOnly = (one) => { }; | |
private Action<TTwo> twoOnly = (two) => { }; | |
private readonly Func<TOne, TTwo, int> compare; | |
public Action<TOne, TTwo> Always { set { this.always = value; } } |