Skip to content

Commit d83cb8c

Browse files
authored
Merge pull request #44 from vytautask/dotnetcore
Updated README with working sample
2 parents 9f2b398 + a0031f6 commit d83cb8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.mdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public class Startup
4545
{
4646
public void ConfigureServices(IServiceCollection services)
4747
{
48-
services.AddEnyimMemcached(options => Configuration.GetSection("enyimMemcached"));
48+
services.AddEnyimMemcached(Configuration.GetSection("enyimMemcached"));
49+
// or
50+
//services.AddEnyimMemcached(options => someSetupAction(options));
4951
}
5052

5153
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)

0 commit comments

Comments
 (0)