VersionControlSecuredObjectExtensions.ToSecuredDictionary<TSource,TKey,TElement> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Collections.Generic.IDictionary<TKey,TElement> ToSecuredDictionary<TSource,TKey,TElement>(this System.Collections.Generic.IEnumerable<TSource> source, Microsoft.VisualStudio.Services.WebApi.ISecuredObject securedObject, Func<TSource,TKey> keySelector, Func<TSource,TElement> elementSelector);
static member ToSecuredDictionary : seq<'Source> * Microsoft.VisualStudio.Services.WebApi.ISecuredObject * Func<'Source, 'Key> * Func<'Source, 'Element> -> System.Collections.Generic.IDictionary<'Key, 'Element>
<Extension()>
Public Function ToSecuredDictionary(Of TSource, TKey, TElement) (source As IEnumerable(Of TSource), securedObject As ISecuredObject, keySelector As Func(Of TSource, TKey), elementSelector As Func(Of TSource, TElement)) As IDictionary(Of TKey, TElement)
Type Parameters
- TSource
- TKey
- TElement
Parameters
- source
- IEnumerable<TSource>
- securedObject
- Microsoft.VisualStudio.Services.WebApi.ISecuredObject
- keySelector
- Func<TSource,TKey>
- elementSelector
- Func<TSource,TElement>