Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 664 Bytes
using Resilience.Polly.Sql.Internals;
namespace Resilience.Polly.Sql
{
public class SqlPolicyBuilder
{
public ISqlAsyncPolicyBuilder UseAsyncExecutor()
{
return new SqlAsyncPolicyBuilder();
}
public ISqlAsyncPolicyBuilder UseAsyncExecutorWithSharedPolicies()
{
return new SqlAsyncPolicyBuilder(true);
}
public ISqlSyncPolicyBuilder UseSyncExecutor()
{
return new SqlSyncPolicyBuilder();
}
public ISqlSyncPolicyBuilder UseSyncExecutorWithSharedPolicies()
{
return new SqlSyncPolicyBuilder(true);
}
}
}