public TValue this[TKey key] { get { return((TValue)AnyValueConverter.ToType(new AnyValue(ValueNative.qi_value_map_get(this._handle, key.Handle)), typeof(TValue))); } set { ValueNative.qi_value_map_set(this._handle, key.Handle, value.Handle); } }
public static QiValue <T> ToType <T>(T value, Type targetType) where T : QiValue <T> { return((T)AnyValueConverter.ToType(value as AnyValue, targetType)); }