38 references to Comparison
mscorlib (7)
system\array.cs (3)
1889
public static void Sort<T>(T[] array,
Comparison
<T> comparison) {
1922
Comparison
<T> comparison;
1924
public FunctorComparer(
Comparison
<T> comparison) {
system\collections\generic\comparer.cs (3)
31
public static Comparer<T> Create(
Comparison
<T> comparison)
153
private readonly
Comparison
<T> _comparison;
155
public ComparisonComparer(
Comparison
<T> comparison) {
system\collections\generic\list.cs (1)
984
public void Sort(
Comparison
<T> comparison) {
PresentationFramework (11)
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (4)
74
internal void FindPosition(LiveShapingItem item, out RBFinger<LiveShapingItem> oldFinger, out RBFinger<LiveShapingItem> newFinger,
Comparison
<LiveShapingItem> comparison)
189
RBFinger<LiveShapingItem> LocalSearch(LiveShapingItem item, int left, int right,
Comparison
<LiveShapingItem> comparison)
280
RBFinger<LiveShapingItem> SearchLeft(LiveShapingItem item, int offset,
Comparison
<LiveShapingItem> comparison)
361
RBFinger<LiveShapingItem> SearchRight(LiveShapingItem item, int offset,
Comparison
<LiveShapingItem> comparison)
src\Framework\MS\Internal\Data\LiveShapingItem.cs (1)
79
internal void FindPosition(out RBFinger<LiveShapingItem> oldFinger, out RBFinger<LiveShapingItem> newFinger,
Comparison
<LiveShapingItem> comparison)
src\Framework\MS\Internal\Data\RBNode.cs (4)
121
protected RBFinger<T> Find(T x,
Comparison
<T> comparison)
158
protected RBFinger<T> BoundedSearch(T x, int low, int high,
Comparison
<T> comparison)
231
int BinarySearch(T x, int low, int high,
Comparison
<T> comparison, int compHigh, out bool found)
261
protected RBFinger<T> LocateItem(RBFinger<T> finger,
Comparison
<T> comparison)
src\Framework\MS\Internal\Data\RBTree.cs (2)
70
public
Comparison
<T> Comparison
685
Comparison
<T> _comparison;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (1)
57
public void Sort(
Comparison
<T> comparison)
System.Data (9)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ObservableCollection.cs (1)
57
public void Sort(
Comparison
<T> comparison)
fx\src\data\System\Data\DataView.cs (4)
41
private System.
Comparison
<DataRow> _comparison;
167
/// Allow construction of DataView with <see cref="System.Predicate<DataRow>"/> and <see cref="System.
Comparison
<DataRow>"/>
170
internal DataView(DataTable table, System.Predicate<DataRow> predicate, System.
Comparison
<DataRow> comparison, DataViewRowState RowState) {
488
internal System.
Comparison
<DataRow> SortComparison {
fx\src\data\System\Data\Selection.cs (4)
76
private readonly System.
Comparison
<DataRow> _comparison;
100
public Index(DataTable table, System.
Comparison
<DataRow> comparison, DataViewRowState recordStates, IFilter rowFilter)
112
private Index(DataTable table, IndexField[] indexFields, System.
Comparison
<DataRow> comparison, DataViewRowState recordStates, IFilter rowFilter) {
449
/// otherwise on Delete of a DataRow in the Added state, would result in the <see cref="System.
Comparison
<DataRow>"/> where the row
System.Data.DataSetExtensions (8)
System\Data\LinqDataView.cs (1)
69
Comparison
<DataRow> comparison,
System\Data\SortExpressionBuilder.cs (7)
51
LinkedList<
Comparison
<object>> _comparers = new LinkedList<
Comparison
<object>>();
54
LinkedListNode<
Comparison
<object>> _currentComparer = null;
60
internal void Add(Func<T, object> keySelector,
Comparison
<object> compare, bool isOrderBy)
113
foreach (
Comparison
<object> compare in _comparers)
158
foreach (
Comparison
<object> comparer in _comparers)
193
foreach (
Comparison
<object> comparer in _comparers)
System.Data.Linq (1)
SqlClient\Query\SqlUnionizer.cs (1)
42
Comparison
<SqlColumn> comp = (x,y) => x.Ordinal - y.Ordinal;
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\CollectibleLRUCache.cs (1)
268
public static
Comparison
<CollectibleNode> CounterComparison = new Comparison<CollectibleNode>(CounterLessThan);