Пример #1
0
 public AgentTestGrain(IServiceProvider services)
 {
     this.testAgent = services.GetRequiredService <TestDedicatedAsynchAgent>();
 }
Пример #2
0
 public AgentTestGrain(IServiceProvider services)
 {
     this.testAgent = services.GetService(typeof(TestDedicatedAsynchAgent)) as TestDedicatedAsynchAgent;
 }