Beispiel #1
0
 public static object GetData(string name)
 {
     if (LogicalDatastore.ContainsKey(name))
     {
         return(LogicalDatastore [name]);
     }
     else
     {
         return(Datastore [name]);
     }
 }
Beispiel #2
0
 public static void SetData(string name, object data)
 {
     if (data is ILogicalThreadAffinative)
     {
         LogicalSetData(name, data);
     }
     else
     {
         LogicalDatastore.Remove(name);
         Datastore [name] = data;
     }
 }
Beispiel #3
0
 // public methods
 public static void FreeNamedDataSlot(string name)
 {
     Datastore.Remove(name);
     LogicalDatastore.Remove(name);
 }