예제 #1
0
 public GiphyTagHelper(GiphyTagHelperConfiguration config)
 {
     _config = config;
 }
 public static void AddGiphyTagHelper (this IServiceCollection services, GiphyTagHelperConfiguration config)
 {
     services.AddSingleton(_ => config);
 }
예제 #3
0
 public GiphyTagHelper(GiphyTagHelperConfiguration config)
 {
     _config = config;
 }
 public static void AddGiphyTagHelper(this IServiceCollection services, GiphyTagHelperConfiguration config)
 {
     services.AddSingleton(_ => config);
 }