main
1using System.Collections;
2
3namespace momoney.database.transactions
4{
5 public class PerThreadScopedStorage : IScopedStorage
6 {
7 readonly IThread current_thread;
8
9 public PerThreadScopedStorage(IThread current_thread)
10 {
11 this.current_thread = current_thread;
12 }
13
14 public IDictionary provide_storage()
15 {
16 return current_thread.provide_slot_for<Hashtable>();
17 }
18 }
19}