modules/platforms/dotnet/Apache.Ignite.Core/Impl/Compute/ComputeImpl.cs
/// <summary>
/// Executes provided delegate on a node in this grid projection. The result of the
/// job execution is returned from the result closure.
/// </summary>
/// <param name="func">Func to execute.</param>
/// <returns>Job result for this execution.</returns>
Executes provided delegate on a node in this grid projection. The result of the
job execution is returned from the result closure.
Executes provided delegate on a node in this grid projection . The result of the job execution is returned from the result closure .
public Future<TJobRes> Execute<TJobRes>(Func<TJobRes> func)
        {
            IgniteArgumentCheck.NotNull(func, "func");
            var wrappedFunc = new ComputeOutFuncWrapper(func, () => func());
            return ExecuteClosures0(new ComputeSingleClosureTask<object, TJobRes, TJobRes>(),
                new ComputeOutFuncJob(wrappedFunc), null, false);
        }
public Future < TJobRes > Execute < TJobRes > ( Func < TJobRes > func ) { IgniteArgumentCheck . NotNull ( func , " " ) ; var wrappedFunc = new ComputeOutFuncWrapper ( func , ( ) => func ( ) ) ; return ExecuteClosures0 ( new ComputeSingleClosureTask < object , TJobRes , TJobRes > ( ) , new ComputeOutFuncJob ( wrappedFunc ) , null , false ) ; }
Executes provided delegate on a node in this grid projection.
Executes provided delegate on a node in this grid projection .
Job result for this execution.
Job result for this execution .
func
Func<TJobRes>
Func to execute.
Func to execute .