Exemplo n.º 1
0
        public DaprExtensionConfigProvider(
            DaprServiceClient daprClient,
            DaprServiceListener daprListener,
            ILoggerFactory loggerFactory)
        {
            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"));
        }
 public DaprStateConverter(DaprServiceClient daprClient)
 {
     this.daprClient = daprClient;
 }
 public DaprInvokeMethodAsyncCollector(DaprInvokeAttribute attr, DaprServiceClient daprService)
 {
     this.attr        = attr;
     this.daprService = daprService;
 }
Exemplo n.º 4
0
 public DaprPublishAsyncCollector(DaprPublishAttribute attr, DaprServiceClient daprClient)
 {
     this.attr       = attr;
     this.daprClient = daprClient;
 }
 public DaprSaveStateAsyncCollector(DaprStateAttribute attr, DaprServiceClient daprClient)
 {
     this.attr       = attr;
     this.daprClient = daprClient;
 }