/// <summary> /// Performs an "index" "set" operation. /// </summary> /// <param name="script">The script originating the request</param> /// <param name="obj">The object (null if a static request is done)</param> /// <param name="index">The index.</param> /// <param name="value">The value to be set</param> /// <param name="isDirectIndexing">If set to true, it's indexed with a name, if false it's indexed through brackets.</param> /// <returns></returns> public bool SetIndex(Script script, object obj, DynValue index, DynValue value, bool isDirectIndexing) { return(m_ProxyDescriptor.SetIndex(script, Proxy(obj), index, value, isDirectIndexing)); }
/// <summary> /// Performs an "index" "set" operation. /// </summary> /// <param name="ecToken">The execution control token of the script processing thread</param> /// <param name="script">The script originating the request</param> /// <param name="obj">The object (null if a static request is done)</param> /// <param name="index">The index.</param> /// <param name="value">The value to be set</param> /// <param name="isDirectIndexing">If set to true, it's indexed with a name, if false it's indexed through brackets.</param> /// <returns></returns> public bool SetIndex(ExecutionControlToken ecToken, Script script, object obj, DynValue index, DynValue value, bool isDirectIndexing) { return(m_ProxyDescriptor.SetIndex(ecToken, script, Proxy(obj), index, value, isDirectIndexing)); }