Ejemplo n.º 1
0
        public DaprExtensionConfigProvider(
            DaprServiceClient daprClient,
            DaprServiceListener daprListener,
            ILoggerFactory loggerFactory,
            INameResolver nameResolver)
        {
            this.daprClient   = daprClient ?? throw new ArgumentNullException(nameof(daprClient));
            this.daprListener = daprListener ?? throw new ArgumentNullException(nameof(daprListener));

            if (loggerFactory == null)
            {
                throw new ArgumentNullException(nameof(loggerFactory));
            }

            this.logger       = loggerFactory.CreateLogger(LogCategories.CreateTriggerCategory("Dapr"));
            this.nameResolver = nameResolver;
        }
 public DaprStateConverter(DaprServiceClient daprClient)
 {
     this.daprClient = daprClient;
 }
 public DaprSaveStateAsyncCollector(DaprStateAttribute attr, DaprServiceClient daprClient)
 {
     this.attr       = attr;
     this.daprClient = daprClient;
 }
 public DaprInvokeMethodAsyncCollector(DaprInvokeAttribute attr, DaprServiceClient daprService)
 {
     this.attr        = attr;
     this.daprService = daprService;
 }
Ejemplo n.º 5
0
 public DaprPublishAsyncCollector(DaprPublishAttribute attr, DaprServiceClient daprClient)
 {
     this.attr       = attr;
     this.daprClient = daprClient;
 }
 public DaprBindingAsyncCollector(DaprBindingAttribute attr, DaprServiceClient daprService)
 {
     this.attr        = attr;
     this.daprService = daprService;
 }