public void SetSelectedItem(LineTranslationVariant item) { foreach (var variant in Variants) { variant.IsSelected = variant == item; } }
public TranslateComletionData(LineTranslationVariant variant, int startOffset, int length) { _lineTranslationVariant = variant; _startOffset = startOffset; _length = length; }