Exemplo n.º 1
0
 /// <summary>
 /// Gets or sets the item at the specified index.
 /// </summary>
 /// <param name='index'>
 /// The index
 /// </param>
 /// <remarks>
 /// The item value can be a primitive type value, a RawValue instance or a RawValueArray instance.
 /// </remarks>
 public object this [int index] {
     get {
         return(source.GetValue(new int[] { index }));
     }
     set {
         source.SetValue(new int[] { index }, value);
     }
 }
Exemplo n.º 2
0
 public void SetValue(int[] index, object value)
 {
     MtaThread.Run(() => source.SetValue(index, value));
 }