CollectionExtensions Classe
Definição
Fornece métodos de extensão para coleções genéricas.Provides extension methods for generic collections.
public ref class CollectionExtensions abstract sealed
public static class CollectionExtensions
type CollectionExtensions = class
Public Module CollectionExtensions
- Herança
-
CollectionExtensions
Métodos
| GetDefaultAssets(IEnumerable<RuntimeAssetGroup>) |
Obtém uma enumeração de ativos em que cada ativo tem um runtime vazio.Gets an enumeration of assets where each asset has an empty runtime. |
| GetDefaultGroup(IEnumerable<RuntimeAssetGroup>) |
Obtém o primeiro RuntimeAssetGroup com um Runtime vazio.Gets the first RuntimeAssetGroup with an empty Runtime. |
| GetDefaultRuntimeFileAssets(IEnumerable<RuntimeAssetGroup>) |
Obtém uma enumeração de RuntimeFile em que cada valor tem um runtime vazio.Gets an enumeration of RuntimeFile where each value has an empty runtime. |
| GetRuntimeAssets(IEnumerable<RuntimeAssetGroup>, String) |
Obtém uma enumeração de ativos em que o valor de cada ativo é igual a |
| GetRuntimeFileAssets(IEnumerable<RuntimeAssetGroup>, String) |
Obtém uma enumeração de RuntimeFile em que o Runtime de cada valor é igual a |
| GetRuntimeGroup(IEnumerable<RuntimeAssetGroup>, String) |
Obtém o primeiro RuntimeAssetGroup em que Runtime corresponde a |
| GetValueOrDefault<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>, TKey) |
Tenta obter o valor associado ao |
| GetValueOrDefault<TKey,TValue>(IReadOnlyDictionary<TKey,TValue>, TKey, TValue) |
Tenta obter o valor associado à chave especificada no |
| Remove<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) |
Tenta remover o valor com o |
| TryAdd<TKey,TValue>(IDictionary<TKey,TValue>, TKey, TValue) |
Tenta adicionar o |