private static RowBinding <InPlaceEditor> MergeIntoInPlaceEditor <TEditing, TInert>(this RowInput <TEditing> rowInput, RowBinding <TInert> inertRowBinding) where TEditing : UIElement, new() where TInert : UIElement, new() { Debug.Assert(rowInput != null); Debug.Assert(inertRowBinding != null); return(InPlaceEditor.AddToInPlaceEditor(rowInput, inertRowBinding)); }
private static ScalarBinding <InPlaceEditor> MergeIntoInPlaceEditor <TEditing, TInert>(this ScalarInput <TEditing> scalarInput, ScalarBinding <TInert> inertScalarBinding) where TEditing : UIElement, new() where TInert : UIElement, new() { Debug.Assert(scalarInput != null); Debug.Assert(inertScalarBinding != null); return(InPlaceEditor.AddToInPlaceEditor(scalarInput, inertScalarBinding)); }