Ejemplo n.º 1
0
        public void CopyTo(TCgMulticastDelegate_OneParam <T> to)
        {
            to.Clear();

            Dictionary <FCgDelegateHandle, Event> .KeyCollection   keys   = InvocationMap.Keys;
            Dictionary <FCgDelegateHandle, Event> .ValueCollection events = InvocationMap.Values;

            foreach (FCgDelegateHandle key in keys)
            {
                to.AddObject(key.Object, InvocationMap[key]);
            }
        }
Ejemplo n.º 2
0
 public void AddEvent(TCgMulticastDelegate_OneParam <T> .Event del)
 {
     Value.OnChange_Event.Add(del);
 }