Esempio n. 1
0
 public void AddReference(InstanceHandle handle)
 {
     if (referenceList.ContainsKey(handle.Instance))
     {
         return;
     }
     referenceList.Add(handle.Instance, handle);
     handle.MarkReferredBy(this);
 }
Esempio n. 2
0
 public void AddReference(InstanceHandle handle)
 {
     if (referenceList.ContainsKey(handle.Instance))
         return;
     referenceList.Add(handle.Instance, handle);
     handle.MarkReferredBy(this);
 }