OrleansService.WithGrainDirectory
Method
type OrleansService interface { // ... omitted for brevity WithGrainDirectory( name string, provider ResourceWithConnectionString, ) OrleansService}Signature
method
WithGrainDirectory Adds a grain directory provider to the Orleans service.
WithGrainDirectory( name string, provider ResourceWithConnectionString,) OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerResourceWithConnectionString The provider to add.Returns
OrleansService The Orleans service builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: