ImmutableList<T>.Builder.Sort 메서드

정의

오버로드

Sort()

기본 비교자를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

Sort(IComparer<T>)

지정된 비교자를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

Sort(Comparison<T>)

지정된 비교 개체를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

Sort(Int32, Int32, IComparer<T>)

지정된 비교자를 사용하여 변경할 수 없는 목록의 요소 범위에서 요소를 정렬합니다.

Sort()

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

기본 비교자를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

public:
 void Sort();
public void Sort ();
member this.Sort : unit -> unit
Public Sub Sort ()

적용 대상

Sort(IComparer<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 비교자를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

public:
 void Sort(System::Collections::Generic::IComparer<T> ^ comparer);
public void Sort (System.Collections.Generic.IComparer<T> comparer);
public void Sort (System.Collections.Generic.IComparer<T>? comparer);
member this.Sort : System.Collections.Generic.IComparer<'T> -> unit
Public Sub Sort (comparer As IComparer(Of T))

매개 변수

comparer
IComparer<T>

요소를 비교할 때 사용할 구현이거나, 기본 비교자(Default)를 사용하려면 null입니다.

적용 대상

Sort(Comparison<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 비교 개체를 사용하여 전체 변경할 수 없는 목록의 요소를 정렬합니다.

public:
 void Sort(Comparison<T> ^ comparison);
public void Sort (Comparison<T> comparison);
member this.Sort : Comparison<'T> -> unit
Public Sub Sort (comparison As Comparison(Of T))

매개 변수

comparison
Comparison<T>

요소를 비교할 때 사용할 개체입니다.

예외

comparisonnull입니다.

적용 대상

Sort(Int32, Int32, IComparer<T>)

Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs
Source:
ImmutableList_1.Builder.cs

지정된 비교자를 사용하여 변경할 수 없는 목록의 요소 범위에서 요소를 정렬합니다.

public:
 void Sort(int index, int count, System::Collections::Generic::IComparer<T> ^ comparer);
public void Sort (int index, int count, System.Collections.Generic.IComparer<T> comparer);
public void Sort (int index, int count, System.Collections.Generic.IComparer<T>? comparer);
member this.Sort : int * int * System.Collections.Generic.IComparer<'T> -> unit
Public Sub Sort (index As Integer, count As Integer, comparer As IComparer(Of T))

매개 변수

index
Int32

정렬할 범위의 0부터 시작하는 인덱스입니다.

count
Int32

정렬할 범위의 길이입니다.

comparer
IComparer<T>

요소를 비교할 때 사용할 구현이거나, 기본 비교자(Default)를 사용하려면 null입니다.

적용 대상