コード例 #1
0
ファイル: AttributedTypesCache.cs プロジェクト: serjic/dotZ
        /// <summary>
        /// Returns of some data was added to the index
        /// </summary>
        private void UpdateIndexAfterLoad(CompactMap <string, AttributedTypesTrieNode> node)
        {
            foreach (var pair in node)
            {
                var trieNode = pair.Value;

                UpdateIndexAfterLoad(trieNode);
            }
        }
コード例 #2
0
 public UnityExternalFilesPsiModule([NotNull] ISolution solution, string moduleName, string persistentId,
                                    TargetFrameworkId targetFrameworkId, Lifetime lifetime)
 {
     mySolution        = solution;
     myPersistentId    = persistentId;
     myLifetime        = lifetime;
     Name              = moduleName;
     TargetFrameworkId = targetFrameworkId;
     mySourceFiles     = new CompactMap <FileSystemPath, Pair <IPsiSourceFile, LifetimeDefinition> >();
 }
コード例 #3
0
 public AttributedTypesTrieCollection()
 {
     Roots = new CompactMap <string, AttributedTypesTrieNode>();
 }
コード例 #4
0
 public ResolvedSymbols(int symbolUsesCount = 0)
 {
     Declarations = new CompactMap <int, FSharpResolvedSymbolUse>(symbolUsesCount / 4);
     Uses         = new CompactMap <int, FSharpResolvedSymbolUse>(symbolUsesCount);
 }