generated from Templates/Dotnet_Library
fix: add some missing API methods, ref: NOISSUE
This commit is contained in:
parent
1b2e9ad1ee
commit
fc137ebd03
@ -123,7 +123,7 @@ public abstract class DataSetManipulatorBase<TCollectedType, TDataType, TIndexTy
|
||||
return results;
|
||||
}
|
||||
|
||||
public List<DirectionalSearchResult<TIndexType>> FindInSet(List<TDataType> data)
|
||||
public List<DirectionalSearchResult<TIndexType>> FindInSet(List<TDataType> data, Direction directions)
|
||||
{
|
||||
var result = new List<DirectionalSearchResult<TIndexType>>();
|
||||
|
||||
@ -131,11 +131,16 @@ public abstract class DataSetManipulatorBase<TCollectedType, TDataType, TIndexTy
|
||||
var startingPoints = this.FindInSet(data[0]);
|
||||
foreach (var startingPoint in startingPoints)
|
||||
{
|
||||
foreach (var results in this.FindAtPosition(startingPoint.DataIndex, data))
|
||||
foreach (var results in this.FindAtPosition(startingPoint.DataIndex, data, directions))
|
||||
{
|
||||
result.AddRange(results);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public List<DirectionalSearchResult<TIndexType>> FindInSet(List<TDataType> data)
|
||||
{
|
||||
return this.FindInSet(data, this.ValidDirections());
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user