Beispiel #1
0
 public PluginExecutionFacade(IServiceProvider serviceProvider)
 {
     _serviceProvider            = serviceProvider.ArgumentNotNull(nameof(serviceProvider));
     _lazyPluginExecutionContext = new Lazy <IPluginExecutionContext>(GetPluginExecutionContext);
     _lazyOrganizationService    = new Lazy <IOrganizationService>(GetOrganizationService);
     _lazyTracingService         = new Lazy <ITracingService>(GetTracingService);
 }
Beispiel #2
0
 public DependencyResolver(IServiceProvider serviceProvider)
 {
     this.serviceProvider = serviceProvider.ArgumentNotNull(nameof(serviceProvider));
 }