DesignTimeServicesReferenceAttribute Class

Definition

Identifies where to find additional design time services.

This attribute is typically used by design-time extensions. It is generally not used in application code.

[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
Inheritance
DesignTimeServicesReferenceAttribute
Attributes

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

DesignTimeServicesReferenceAttribute(String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

DesignTimeServicesReferenceAttribute(String, String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

Properties

ForProvider

Gets the name of the provider for which these services should be added. If null, the services will be added for all providers.

TypeName

Gets the assembly-qualified name of the type that can be used to add additional design time services to a ServiceCollection. This type should implement IDesignTimeServices.

Applies to