Partilhar via


GrainInterfaceTypeAttribute.GetGrainInterfaceType Método

Definição

Obtém o identificador da interface de granularidade.

public Orleans.Runtime.GrainInterfaceType GetGrainInterfaceType (IServiceProvider services, Type type);
abstract member GetGrainInterfaceType : IServiceProvider * Type -> Orleans.Runtime.GrainInterfaceType
override this.GetGrainInterfaceType : IServiceProvider * Type -> Orleans.Runtime.GrainInterfaceType
Public Function GetGrainInterfaceType (services As IServiceProvider, type As Type) As GrainInterfaceType

Parâmetros

services
IServiceProvider

O provedor de serviços.

type
Type

O tipo de interface de granularidade.

Retornos

O GrainInterfaceType correspondente ao tipo fornecido.

Implementações

Aplica-se a