From a0031f6b5e302adba77d5c77c45a7164c2c991ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20Kasparavi=C4=8Dius?= Date: Wed, 7 Feb 2018 14:42:42 +0200 Subject: [PATCH] Updated README with working sample The `ConfigureServices` method will now be working after copying and pasting into your code. --- README.mdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.mdown b/README.mdown index d3174a13..bc886b54 100644 --- a/README.mdown +++ b/README.mdown @@ -45,7 +45,9 @@ public class Startup { public void ConfigureServices(IServiceCollection services) { - services.AddEnyimMemcached(options => Configuration.GetSection("enyimMemcached")); + services.AddEnyimMemcached(Configuration.GetSection("enyimMemcached")); + // or + //services.AddEnyimMemcached(options => someSetupAction(options)); } public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)