public static ArrayHandle <TKeyHandle, TValueHandle> Store <TKeyHandle, TValueHandle>( ArrayHandle <TKeyHandle, TValueHandle> array, TKeyHandle key, TValueHandle value) where TKeyHandle : struct, IHandle where TValueHandle : struct, IHandle { var expression = ExpressionFactory.Store(array.Expression, key.Expression, value.Expression); return((ArrayHandle <TKeyHandle, TValueHandle>)expression); }
public static TValueHandle Select <TKeyHandle, TValueHandle>( ArrayHandle <TKeyHandle, TValueHandle> array, TKeyHandle key) where TKeyHandle : struct, IHandle where TValueHandle : struct, IHandle { var expression = ExpressionFactory.Select(array.Expression, key.Expression); return(new TValueHandle() { Expression = expression }); }