Freigeben über


DefaultGrainTypeAttribute Klasse

Definition

Gibt den Standardkorntyp an, der beim Erstellen eines Grain-Verweises für diese Schnittstelle ohne Angabe eines Grain-Typs verwendet werden soll.

[System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)]
public sealed class DefaultGrainTypeAttribute : Attribute, Orleans.Metadata.IGrainInterfacePropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false)>]
type DefaultGrainTypeAttribute = class
    inherit Attribute
    interface IGrainInterfacePropertiesProviderAttribute
Public NotInheritable Class DefaultGrainTypeAttribute
Inherits Attribute
Implements IGrainInterfacePropertiesProviderAttribute
Vererbung
DefaultGrainTypeAttribute
Attribute
Implementiert

Konstruktoren

DefaultGrainTypeAttribute(String)

Initialisiert eine neue Instanz der DefaultGrainTypeAttribute-Klasse.

Explizite Schnittstellenimplementierungen

IGrainInterfacePropertiesProviderAttribute.Populate(IServiceProvider, Type, Dictionary<String,String>)

Fügt Grain-Schnittstelleneigenschaften zu hinzu properties.

Gilt für: