public SelectionInfoVM(CodePointVM cpVm, WordVM word, string text, Func <string> allText) { Character = cpVm; Word = word; Text = text; AllText = allText; }
public SelectionInfoVM Clone(CodePointVM cpVm = null, WordVM word = null, Func <string> allText = null) { cpVm = cpVm ?? Character; word = word ?? Word; allText = allText ?? AllText; return(new SelectionInfoVM(cpVm, word, allText)); }
public SelectionInfoVM Clone(CodePointVM cpVm = null, WordVM word = null, string text = null, Func <string> allText = null) { cpVm = cpVm ?? this.Character; word = word ?? this.Word; text = text ?? this.Text; allText = allText ?? this.AllText; return(new SelectionInfoVM(cpVm, word, text, allText)); }