src/Foundation/Data/Gimela.Data.JsonExtension/DynamicJson.cs
/// <summary>
/// Provides the implementation for operations that set a value by index. Classes derived from the <see cref="T:System.Dynamic.DynamicObject"/> class can override this method to specify dynamic behavior for operations that access objects by a specified index.
/// </summary>
/// <param name="binder">Provides information about the operation.</param>
/// <param name="indexes">The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the <see cref="T:System.Dynamic.DynamicObject"/> class, indexes[0] is equal to 3.</param>
/// <param name="value">The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the <see cref="T:System.Dynamic.DynamicObject"/> class, <paramref name="value"/> is equal to 10.</param>
/// <returns>
/// true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
/// </returns>
Provides the implementation for operations that set a value by index. Classes derived from the  class can override this method to specify dynamic behavior for operations that access objects by a specified index.
Provides the implementation for operations that set a value by index . Classes derived from the class can override this method to specify dynamic behavior for operations that access objects by a specified index .
public override bool TrySetIndex(SetIndexBinder binder, object[] indexes, object value)
    {
      return (IsArray)
          ? TrySet((int)indexes[0], value)
          : TrySet((string)indexes[0], value);
    }
public override bool TrySetIndex ( SetIndexBinder binder , object [ ] indexes , object value ) { return ( IsArray ) ? TrySet ( ( int ) indexes [ 0 ] , value ) : TrySet ( ( string ) indexes [ 0 ] , value ) ; }
Provides the implementation for operations that set a value by index.
Provides the implementation for operations that set a value by index .
true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.
true if the operation is successful ; otherwise false . If this method returns false the run - time binder of the language determines the behavior . ( In most cases a language - specific run - time exception is thrown .
binder
SetIndexBinder
Provides information about the operation.
Provides information about the operation .
indexes
object[]
The indexes that are used in the operation. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the  class, indexes[0] is equal to 3.
The indexes that are used in the operation . For example for the sampleObject [ 3 ] = 10 operation in C# ( sampleObject ( 3 ) = 10 in Visual Basic ) where sampleObject is derived from the class indexes [ 0 ] is equal to 3 .
value
object
The value to set to the object that has the specified index. For example, for the sampleObject[3] = 10 operation in C# (sampleObject(3) = 10 in Visual Basic), where sampleObject is derived from the  class,  is equal to 10.
The value to set to the object that has the specified index . For example for the sampleObject [ 3 ] = 10 operation in C# ( sampleObject ( 3 ) = 10 in Visual Basic ) where sampleObject is derived from the class is equal to 10 .