#### [Apq\.Cfg](index.md 'index') ### [Apq\.Cfg\.Internal](Apq.Cfg.Internal.md 'Apq\.Cfg\.Internal') ## FastCollections Class 快速集合工厂方法 ```csharp internal static class FastCollections ``` Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') 🡒 FastCollections | Methods | | | :--- | :--- | | [ToFastReadOnly<TKey,TValue>\(this Dictionary<TKey,TValue>\)](Apq.Cfg.Internal.FastCollections.ToFastReadOnly.md#Apq.Cfg.Internal.FastCollections.ToFastReadOnly_TKey,TValue_(thisSystem.Collections.Generic.Dictionary_TKey,TValue_) 'Apq\.Cfg\.Internal\.FastCollections\.ToFastReadOnly\\(this System\.Collections\.Generic\.Dictionary\\)') | 创建高性能只读字典 | | [ToFastReadOnly<TKey,TValue>\(this IEnumerable<KeyValuePair<TKey,TValue>>\)](Apq.Cfg.Internal.FastCollections.ToFastReadOnly.md#Apq.Cfg.Internal.FastCollections.ToFastReadOnly_TKey,TValue_(thisSystem.Collections.Generic.IEnumerable_System.Collections.Generic.KeyValuePair_TKey,TValue__) 'Apq\.Cfg\.Internal\.FastCollections\.ToFastReadOnly\\(this System\.Collections\.Generic\.IEnumerable\\>\)') | 创建高性能只读字典 | | [ToFastReadOnlySet<T>\(this IEnumerable<T>\)](Apq.Cfg.Internal.FastCollections.ToFastReadOnlySet_T_(thisSystem.Collections.Generic.IEnumerable_T_).md 'Apq\.Cfg\.Internal\.FastCollections\.ToFastReadOnlySet\\(this System\.Collections\.Generic\.IEnumerable\\)') | 创建高性能只读集合 |