withGrainDirectory
Method
interface OrleansService { // ... omitted for brevity withGrainDirectory( name: string, provider: IResourceWithConnectionString): OrleansService;}Signature
method
withGrainDirectory Adds a grain directory provider to the Orleans service.
withGrainDirectory( name: string, provider: IResourceWithConnectionString): OrleansServiceParameters
namestringThe name of the provider. This is the name the application will use to resolve the provider.providerIResourceWithConnectionString The provider to add.Returns
OrleansService Applies to
This method applies to the following types: