Esempio n. 1
0
 public SelectionInfoVM(CodePointVM cpVm, WordVM word, string text, Func <string> allText)
 {
     Character = cpVm;
     Word      = word;
     Text      = text;
     AllText   = allText;
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 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));
 }