DesignTimeServicesReferenceAttribute Sınıf

Tanım

Ek tasarım zamanı hizmetlerinin nerede bulunacağını tanımlar.

Bu öznitelik genellikle tasarım zamanı uzantıları tarafından kullanılır. Genellikle uygulama kodunda kullanılmaz.

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class DesignTimeServicesReferenceAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class DesignTimeServicesReferenceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type DesignTimeServicesReferenceAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type DesignTimeServicesReferenceAttribute = class
    inherit Attribute
Public NotInheritable Class DesignTimeServicesReferenceAttribute
Inherits Attribute
Devralma
DesignTimeServicesReferenceAttribute
Öznitelikler

Açıklamalar

Daha fazla bilgi için bkz. veritabanı sağlayıcıları ve uzantıları uygulama .

Oluşturucular

DesignTimeServicesReferenceAttribute(String)

DesignTimeServicesReferenceAttribute sınıfının yeni bir örneğini başlatır.

DesignTimeServicesReferenceAttribute(String, String)

DesignTimeServicesReferenceAttribute sınıfının yeni bir örneğini başlatır.

Özellikler

ForProvider

Bu hizmetlerin eklenmesi gereken sağlayıcının adını alır. Null ise, hizmetler tüm sağlayıcılar için eklenecektir.

TypeName

' A ek tasarım zamanı hizmetleri eklemek için kullanılabilen türün derleme nitelikli adını alır ServiceCollection . Bu türün uygulanması gerekir IDesignTimeServices .

Şunlara uygulanır