Compartir a través de


GrainTypeAttribute Clase

Definición

Especifica el tipo de grano de la clase de grano a la que está asociado.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class GrainTypeAttribute : Attribute, Orleans.Metadata.IGrainTypeProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type GrainTypeAttribute = class
    inherit Attribute
    interface IGrainTypeProviderAttribute
Public NotInheritable Class GrainTypeAttribute
Inherits Attribute
Implements IGrainTypeProviderAttribute
Herencia
GrainTypeAttribute
Atributos
Implementaciones

Constructores

GrainTypeAttribute(String)

Inicializa una nueva instancia de la clase GrainTypeAttribute.

Métodos

GetGrainType(IServiceProvider, Type)

Obtiene el GrainType objeto para el objeto Typeadjunto.

Se aplica a