public void RegUpdatedObjects(object sender, UpdateObjsInfoEventArgs e) { var objs = e.UpdateObjs; foreach (var obj in objs) { UpdatedObjects.Add(obj.Key, obj.Value); } }
public void Update(Object associate, Func <float, Task> @delegate, int frequency) { UpdatedObjects.Add(new UpdatedObject { Associate = associate, Delegate = @delegate, Frequency = frequency }); }
public override void Update(object instance) { UpdatedObjects.Add(instance); }