Esempio n. 1
0
 public ContentDelivery(IContentfulOptions options)
 {
     if (_instance == null)
     {
         _instance = new ContentfulClient(new HttpClient(), options.GetOptionsObject());
     }
 }
Esempio n. 2
0
 //public ContentManagement(IContentfulOptions options, ILogger<IContentManagementClient> logger)
 public ContentManagement(IContentfulOptions options)
 {
     if (_instance == null)
     {
         _instance = new ContentfulManagementClientWrapper(new HttpClient(), options.GetOptionsObject());
     }
 }