コード例 #1
0
ファイル: ChecksumScope.cs プロジェクト: soldetres/roslyn
        public ChecksumScope(
            ChecksumTreeCollection trees,
            IRootChecksumTreeNode tree,
            SolutionChecksumObject solutionChecksum)
        {
            _trees = trees;
            _tree = tree;

            SolutionChecksum = solutionChecksum;

            _trees.RegisterSnapshot(this, tree);
        }
コード例 #2
0
        public ChecksumScope(
            ChecksumTreeNodeCacheCollection caches,
            ChecksumTreeNodeCache cache,
            SolutionChecksumObject solutionChecksum)
        {
            _caches = caches;
            _cache  = cache;

            SolutionChecksum = solutionChecksum;

            _caches.RegisterSnapshot(this, cache);
        }