public void Add(T obj) { var transf = ((Component)(object)obj).transform; transf.parent = storage.transform; lookup.Add(transf, obj); OnModify?.Invoke(this); }
public void ModifyConditions(decimal entry, DateTime entryExpiry, decimal target, DateTime targetExpiry) { PriceEntry = entry; EntryExpiry = entryExpiry; PriceTarget = target; ExpireDate = targetExpiry; _IsChanged = true; OnModify?.Invoke(this); }
public void ModifyAt(int _indParent, int _indChild) { ListWithChildEventArgs <T1, T2> evargs = new ListWithChildEventArgs <T1, T2>(this[_indParent], this.child[_indChild], _indParent); if (this.OnModify != null) { OnModify.Invoke(this, evargs); } this.child[_indChild] = evargs.ChildItem; }
void VariablesModified(string key, object oldValue, object newValue, KeyList <string, object> sender) { OnModify?.Invoke(this, key, oldValue, newValue); }