Redigera

Dela via


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, 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.

TryGetGrainType(GrainInterfaceType, GrainType)

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

Applies to