Compartilhar via


IGrainTypeProviderAttribute.GetGrainType(IServiceProvider, Type) Método

Definição

Obtém o GrainType para o anexado Type.

public Orleans.Runtime.GrainType GetGrainType (IServiceProvider services, Type type);
abstract member GetGrainType : IServiceProvider * Type -> Orleans.Runtime.GrainType
Public Function GetGrainType (services As IServiceProvider, type As Type) As GrainType

Parâmetros

services
IServiceProvider

O provedor de serviços.

type
Type

A classe de granularidade.

Retornos

Aplica-se a