Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: private org.neo4j.test.OtherThreadExecutor.WorkerCommand<Void,Void> invalidate(final LazySingleReference<int> ref)
        private OtherThreadExecutor.WorkerCommand <Void, Void> Invalidate(LazySingleReference <int> @ref)
        {
            return(state =>
            {
                @ref.Invalidate();
                return null;
            });
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
//ORIGINAL LINE: private org.neo4j.test.OtherThreadExecutor.WorkerCommand<Void,int> evaluate(final LazySingleReference<int> ref)
        private OtherThreadExecutor.WorkerCommand <Void, int> Evaluate(LazySingleReference <int> @ref)
        {
            return(state => @ref.Get());
        }