Пример #1
0
 public Vector this[RegisterIndex index]
 {
     get
     {
         return(Store[index]);
     }
     set
     {
         Store[index] = value;
         NotifyChange();
     }
 }
Пример #2
0
 public Word this[RegisterIndex index]
 {
     get
     {
         return(Store[index]);
     }
     set
     {
         if (value != Store[index])
         {
             Store[index] = value;
             NotifyChange();
         }
     }
 }