GrainInterfaceTypeToGrainTypeResolver.GetGrainType 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.
Overloads
GetGrainType(GrainInterfaceType) |
Returns a GrainType which implements the provided GrainInterfaceType. |
GetGrainType(GrainInterfaceType, String) |
Returns the GrainType which supports the provided GrainInterfaceType and which has an implementing type name beginning with the provided prefix string. |
GetGrainType(GrainInterfaceType)
Returns a GrainType which implements the provided GrainInterfaceType.
public Orleans.Runtime.GrainType GetGrainType (Orleans.Runtime.GrainInterfaceType interfaceType);
member this.GetGrainType : Orleans.Runtime.GrainInterfaceType -> Orleans.Runtime.GrainType
Public Function GetGrainType (interfaceType As GrainInterfaceType) As GrainType
Parameters
- interfaceType
- GrainInterfaceType
Returns
Applies to
GetGrainType(GrainInterfaceType, String)
Returns the GrainType which supports the provided GrainInterfaceType and which has an implementing type name beginning with the provided prefix string.
public Orleans.Runtime.GrainType GetGrainType (Orleans.Runtime.GrainInterfaceType interfaceType, string prefix);
member this.GetGrainType : Orleans.Runtime.GrainInterfaceType * string -> Orleans.Runtime.GrainType
Public Function GetGrainType (interfaceType As GrainInterfaceType, prefix As String) As GrainType
Parameters
- interfaceType
- GrainInterfaceType
- prefix
- String