DirectorySiloBuilderExtensions.GetGrainDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the directory registered with name
.
public static Orleans.GrainDirectory.IGrainDirectory GetGrainDirectory (this IServiceProvider serviceProvider, string name);
static member GetGrainDirectory : IServiceProvider * string -> Orleans.GrainDirectory.IGrainDirectory
<Extension()>
Public Function GetGrainDirectory (serviceProvider As IServiceProvider, name As String) As IGrainDirectory
Parameters
- serviceProvider
- IServiceProvider
The service provider.
- name
- String
The name of the grain directory to resolve.
Returns
The grain directory registered with name
, or null
if it is not found