System.Collections.Generic.List.Add((BrightWire.IRow, string))

Here are the examples of the csharp api class System.Collections.Generic.List.Add((BrightWire.IRow, string)) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: brightwire
Source File: DataTable.cs
View license
public IReadOnlyList<(IRow Row, string Classification)> Classify(IRowClassifier classifier, Action<float> progress = null)
            var ret = new List<(IRow, string)>();
            float total = RowCount;
            _Iterate((row, i) => {
                var bestClassification = classifier.Classify(row).GetBestClassification();
                ret.Add((row, bestClassification));
                progress?.Invoke(i / total);
                return true;
            return ret;