protected virtual void OnItemClicked(Item item, ItemPart itemPart, MouseButtons mouseButtons) { if (ItemClicked != null) { ItemClicked(this, new EventArgs <Triple <Item, ItemPart, MouseButtons> >( Triple.Create(item, itemPart, mouseButtons))); } }
public Triple <T2, T3, T4> GetTriple234() => Triple.Create <T2, T3, T4>(this.second, this.third, this.fourth);
public Triple <U, V, W> GetTriple234() { return(Triple.Create <U, V, W>(this.second, this.third, this.fourth)); }
public Triple <T1, T2, T3> GetTriple123() => Triple.Create <T1, T2, T3>(this.first, this.second, this.third);
public Triple <T, U, V> GetTriple123() { return(Triple.Create <T, U, V>(this.first, this.second, this.third)); }