src/Kingdom.OrTools.Samples.Sudoku/Model/SudokuPuzzle.Puzzle.cs
/// <summary>
/// Returns the lines given how to <paramref name="addressable"/> maps the major
/// and minor row and column components.
/// </summary>
/// <param name="addressable"></param>
/// <returns></returns>
Returns the lines given how to  maps the major
and minor row and column components.
Returns the lines given how to maps the major and minor row and column components .
public IEnumerable<IDictionary<Address, int>> GetLines(Func<int, int, Address> addressable)
        {
            for (var major = 0; major < Size; major++)
            {
                var result = new Dictionary<Address, int>();
                for (var minor = 0; minor < Size; minor++)
                {
                    var address = addressable(major, minor);
                    result.Add(address, this[address]);
                }
                yield return result;
            }
        }
public IEnumerable < IDictionary < Address , int > > GetLines ( Func < int , int , Address > addressable ) { for ( var major = 0 ; major < Size ; major ++ ) { var result = new Dictionary < Address , int > ( ) ; for ( var minor = 0 ; minor < Size ; minor ++ ) { var address = addressable ( major , minor ) ; result . Add ( address , this [ address ] ) ; } yield return result ; } }
Returns the lines given how to  maps the major
and minor row and column components.
Returns the lines given how to maps the major and minor row and column components .
None
addressable
Func<int, int, Address>
None