示例#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;
 }
示例#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;
 }