Exemplo n.º 1
0
     > GetColorSchemeRegistryItemsAsync(CancellationToken arg) =>
 SpecializedTasks.FromResult(
     _colorSchemes.ToImmutableDictionary(
         kvp => kvp.Key,
         kvp => RegistryItemConverter.Convert(kvp.Value)
         )
     );
Exemplo n.º 2
0
 private Task <ImmutableDictionary <SchemeName, ImmutableArray <RegistryItem> > > GetColorSchemeRegistryItemsAsync(CancellationToken arg)
 {
     return(SpecializedTasks.FromResult(_colorSchemes.ToImmutableDictionary(kvp => kvp.Key, kvp => RegistryItemConverter.Convert(kvp.Value))));
 }