ImmutableSortedSet.ToImmutableSortedSet 메서드
정의
오버로드
ToImmutableSortedSet<TSource>(IEnumerable<TSource>) |
시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.Enumerates a sequence and produces an immutable sorted set of its contents. |
ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder) |
작성기 집합의 현재 콘텐츠에서 변경할 수 없는 정렬된 집합을 만듭니다.Creates an immutable sorted set from the current contents of the builder's set. |
ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>) |
시퀀스를 열거하고, 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성하며, 지정된 비교자를 사용합니다.Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer. |
ToImmutableSortedSet<TSource>(IEnumerable<TSource>)
시퀀스를 열거하고 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성합니다.Enumerates a sequence and produces an immutable sorted set of its contents.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source);
static member ToImmutableSortedSet : seq<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource)) As ImmutableSortedSet(Of TSource)
형식 매개 변수
- TSource
시퀀스의 요소 형식입니다.The type of the elements in the sequence.
매개 변수
- source
- IEnumerable<TSource>
열거할 시퀀스입니다.The sequence to enumerate.
반환
- ImmutableSortedSet<TSource>
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.An immutable sorted set that contains the items in the specified sequence.
적용 대상
ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)
작성기 집합의 현재 콘텐츠에서 변경할 수 없는 정렬된 집합을 만듭니다.Creates an immutable sorted set from the current contents of the builder's set.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Immutable::ImmutableSortedSet<TSource>::Builder ^ builder);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Immutable.ImmutableSortedSet<TSource>.Builder builder);
static member ToImmutableSortedSet : System.Collections.Immutable.ImmutableSortedSet<'Source>.Builder -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (builder As ImmutableSortedSet(Of TSource).Builder) As ImmutableSortedSet(Of TSource)
형식 매개 변수
- TSource
변경할 수 없는 정렬 된 집합에 있는 요소의 형식입니다.The type of the elements in the immutable sorted set.
매개 변수
- builder
- ImmutableSortedSet<TSource>.Builder
변경할 수 없는 정렬된 집합을 만들 작성기입니다.The builder to create the immutable sorted set from.
반환
- ImmutableSortedSet<TSource>
작성기 집합의 현재 콘텐츠를 포함하는 변경할 수 없는 정렬된 집합입니다.An immutable sorted set that contains the current contents in the builder's set.
적용 대상
ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)
시퀀스를 열거하고, 해당 시퀀스의 내용에 대한 변경할 수 없는 정렬된 집합을 생성하며, 지정된 비교자를 사용합니다.Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Immutable::ImmutableSortedSet<TSource> ^ ToImmutableSortedSet(System::Collections::Generic::IEnumerable<TSource> ^ source, System::Collections::Generic::IComparer<TSource> ^ comparer);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource> comparer);
public static System.Collections.Immutable.ImmutableSortedSet<TSource> ToImmutableSortedSet<TSource> (this System.Collections.Generic.IEnumerable<TSource> source, System.Collections.Generic.IComparer<TSource>? comparer);
static member ToImmutableSortedSet : seq<'Source> * System.Collections.Generic.IComparer<'Source> -> System.Collections.Immutable.ImmutableSortedSet<'Source>
<Extension()>
Public Function ToImmutableSortedSet(Of TSource) (source As IEnumerable(Of TSource), comparer As IComparer(Of TSource)) As ImmutableSortedSet(Of TSource)
형식 매개 변수
- TSource
시퀀스의 요소 형식입니다.The type of the elements in the sequence.
매개 변수
- source
- IEnumerable<TSource>
열거할 시퀀스입니다.The sequence to enumerate.
- comparer
- IComparer<TSource>
정렬된 집합을 초기화하고 구성원을 추가하는 데 사용할 비교자입니다.The comparer to use for initializing and adding members to the sorted set.
반환
- ImmutableSortedSet<TSource>
지정된 시퀀스의 항목을 포함하는 변경할 수 없는 정렬된 집합입니다.An immutable sorted set that contains the items in the specified sequence.