GrainInterfaceTypeToGrainTypeResolver Class

Definition

Associates GrainInterfaceTypes with a compatible GrainType.

public class GrainInterfaceTypeToGrainTypeResolver
type GrainInterfaceTypeToGrainTypeResolver = class
Public Class GrainInterfaceTypeToGrainTypeResolver
Inheritance
GrainInterfaceTypeToGrainTypeResolver

Remarks

This is primarily intended for end-users calling IGrainFactory methods without needing to be overly explicit.

Constructors

GrainInterfaceTypeToGrainTypeResolver(IClusterManifestProvider)

Creates a new instance of the GrainInterfaceTypeToGrainTypeResolver class.

Methods

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.

TryGetGrainType(GrainInterfaceType, GrainType)

Resolves a GrainType which implements the provided GrainInterfaceType, returning true if an implementation was found; otherwise false.

Applies to