Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.4 kB
using System;
using System.Linq;
namespace FluentCassandra.Operations
{
public class SimpleOperation<TResult> : Operation<TResult>
{
private readonly Func<SimpleOperation<TResult>, TResult> _operation;
public SimpleOperation(Func<SimpleOperation<TResult>, TResult> operation)
{
_operation = operation;
}
public override TResult Execute()
{
return _operation(this);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.