Edit

Share via


DirectorySiloBuilderExtensions.GetGrainDirectory Method

Definition

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

Applies to