Bagikan melalui


GrainTypeAttribute Kelas

Definisi

Menentukan jenis biji-bijian dari kelas biji-bijian yang dilampirkan.

[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
Warisan
GrainTypeAttribute
Atribut
Penerapan

Konstruktor

GrainTypeAttribute(String)

Menginisialisasi instans baru kelas GrainTypeAttribute.

Metode

GetGrainType(IServiceProvider, Type)

GrainType Mendapatkan untuk yang terlampir Type.

Berlaku untuk