示例#1
0
 // Create the OnPropertyChanged method to raise the event
 protected void OnPropertyChanged(string name)
 {
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
     if (name != "BuiltText")
     {
         BuiltText = DocumentProcessor.BuildDocument(Text, AbstractFormElements.ToList());
     }
 }
示例#2
0
 // Create the OnPropertyChanged method to raise the event
 protected void OnPropertyChanged(string name)
 {
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
     if (name != "EvaluatedText" && name != "Counter")
     {
         EvaluatedText = DocumentProcessor.EvaluateDocument(Text, AbstractFormElements.ToList()); //TODO mam wątpliwości
     }
 }