コード例 #1
0
        internal static IDisposable EnterScope(Collection collection)
        {
            var scopes = GetOrCreateScopes();

            var scopeLease = new ScopeLease(scopes);
            Scopes = scopes.Push(collection);

            return scopeLease;
        }
コード例 #2
0
        internal static IDisposable EnterScope(CacheEntry entry)
        {
            var scopes = GetOrCreateScopes();

            var scopeLease = new ScopeLease(scopes);

            Scopes = scopes.Push(entry);

            return(scopeLease);
        }
コード例 #3
0
ファイル: CollectionHelper.cs プロジェクト: mcpride/yessql
        internal static IDisposable EnterScope(Collection collection)
        {
            var scopes = GetOrCreateScopes();

            var scopeLease = new ScopeLease(scopes);

            Scopes = scopes.Push(collection);

            return(scopeLease);
        }