Extensions Class |

Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)

public static class Extensions
The Extensions type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | ToAdvisableCollection<T> |
Converts an IEnumerable<T> into an AdvisableCollection<T>.
|
![]() ![]() | ToAdvisableDictionary<TKey, TValue>(IDictionary<TKey, TValue>) |
Converts an IDictionary<TKey, TValue> into an AdvisableDictionary<TKey, TValue>.
|
![]() ![]() | ToAdvisableDictionary<TItem, TKey, TValue>(IEnumerable<TItem>, Func<TItem, TKey>, Func<TItem, TValue>) |
Converts an IEnumerable<T> into a AdvisableDictionary<TKey, TValue> given a method returning the item key and a method returning the item value.
|
![]() ![]() | ToAdvisableHashSet<T> |
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
|
