Edytuj

Udostępnij za pośrednictwem


AttributeGrainTypeProvider Class

Definition

Gets the corresponding GrainType for a grain class from an Attribute implementing IGrainTypeProviderAttribute on that class.

public class AttributeGrainTypeProvider : Orleans.Metadata.IGrainTypeProvider
type AttributeGrainTypeProvider = class
    interface IGrainTypeProvider
Public Class AttributeGrainTypeProvider
Implements IGrainTypeProvider
Inheritance
AttributeGrainTypeProvider
Implements

Constructors

AttributeGrainTypeProvider(IServiceProvider)

Initializes a new instance of the AttributeGrainTypeProvider class.

Methods

TryGetGrainType(Type, GrainType)

Returns the grain type corresponding to the class identified by type.

Applies to