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