예제 #1
0
 public RedisReminderTable(
     IGrainReferenceConverter converter,
     IOptions <ClusterOptions> clusterOptions,
     IOptions <RedisReminderTableOptions> options)
 {
     _converter = converter;
     _options   = options.Value;
     _serviceId = clusterOptions.Value.ServiceId;
 }
예제 #2
0
 public RedisReminderTableOptionsValidator(IOptions <RedisReminderTableOptions> options)
 {
     _options = options.Value ?? throw new OrleansConfigurationException($"{nameof(options)} is required.");
 }