Exemple #1
0
 public TaggedNoteArray(string tag, Note note)
 {
     this.tag = tag;
     if (note == null)
     {
         this.count = 0;
         return;
     }
     this.notes = new NoteTO[1];
     this.notes[0] = new NoteTO(note);
     this.count = 1;
 }
Exemple #2
0
 public TaggedNoteArray(string tag, Note[] notes)
 {
     this.tag = tag;
     if (notes == null)
     {
         this.count = 0;
         return;
     }
     this.notes = new NoteTO[notes.Length];
     for (int i = 0; i < notes.Length; i++)
     {
         this.notes[i] = new NoteTO(notes[i]);
     }
     this.count = notes.Length;
 }