Exemplo n.º 1
0
 /// <summary>
 /// Visits the note.
 /// </summary>
 /// <param name="note">The note to visit.</param>
 public override void VisitNote(Gx.Common.Note note)
 {
     if (note.Id != null)
     {
         this.dictionary.Add(note.Id, note);
     }
     base.VisitNote(note);
 }
 public virtual void VisitNote(Note note)
 {
     //no-op.
 }
Exemplo n.º 3
0
 /**
  * Build out this source description with a note.
  * @param note the note.
  * @return this.
  */
 public SourceDescription SetNote(Note note)
 {
     if (this._notes == null)
     {
         this._notes = new List<Note>();
     }
     this._notes.Add(note);
     return this;
 }
 public override void VisitNote(Note note)
 {
     BindIfNeeded(note);
     base.VisitNote(note);
 }
Exemplo n.º 5
0
 /**
  * Add a note.
  *
  * @param note The note to be added.
  */
 public void AddNote(Note note)
 {
     if (note != null)
     {
         if (_notes == null)
         {
             _notes = new List<Note>();
         }
         _notes.Add(note);
     }
 }
Exemplo n.º 6
0
 /**
  * Build up this conclusion with a note.
  *
  * @param note The note.
  * @return this.
  */
 public Conclusion SetNote(Note note)
 {
     AddNote(note);
     return this;
 }