DesignTimeProviderServicesAttribute DesignTimeProviderServicesAttribute Class

Definition

Identifies where to find the design time services for a given database provider. This attribute should be present in the primary assembly of the database provider.

This attribute is typically used by database providers (and other extensions). It is generally not used in application code.

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class DesignTimeProviderServicesAttribute : Attribute, _Attribute
<AttributeUsage(AttributeTargets.Assembly)>
Public NotInheritable Class DesignTimeProviderServicesAttribute
    Inherits Attribute
    Implements _Attribute
Inheritance
System.ObjectSystem.Object
System.AttributeSystem.Attribute
DesignTimeProviderServicesAttributeDesignTimeProviderServicesAttribute
Attributes
System.AttributeUsageAttribute
Implements
System.Runtime.InteropServices._AttributeSystem.Runtime.InteropServices._Attribute

Constructors

DesignTimeProviderServicesAttribute(String, String, String) DesignTimeProviderServicesAttribute(String, String, String)

Initializes a new instance of the DesignTimeProviderServicesAttribute class.

public DesignTimeProviderServicesAttribute(string typeName, string assemblyName, string packageName)
Public Sub New(typeName As String, assemblyName As String, packageName As String)
Parameters
typeName
System.String System.String

The name of the type that can be used to add the database providers design time services to a . This type should contain a method with the following signature

public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection)
.
assemblyName
System.String System.String

The name of the assembly that contains the design time services.

packageName
System.String System.String

The NuGet package name that contains the design time services.

Properties

AssemblyName AssemblyName

Gets the name of the assembly that contains the design time services.

public string AssemblyName { get; }
Public ReadOnly Property AssemblyName As String
Value
System.String System.String

PackageName PackageName

Gets the NuGet package name that contains the design time services.

public string PackageName { get; }
Public ReadOnly Property PackageName As String
Value
System.String System.String

TypeName TypeName

Gets the name of the type that can be used to add the database providers design time services to a . This type should contain a method with the following signature

public IServiceCollection ConfigureDesignTimeServices(IServiceCollection serviceCollection)
.
public string TypeName { get; }
Public ReadOnly Property TypeName As String
Value
System.String System.String

Methods

Equals(Object) Equals(Object)

Inherited from System.Attribute

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetCustomAttribute(Assembly, Type) GetCustomAttribute(Assembly, Type)

Inherited from System.Attribute

GetCustomAttribute(Assembly, Type, Boolean) GetCustomAttribute(Assembly, Type, Boolean)

Inherited from System.Attribute

GetCustomAttribute(MemberInfo, Type) GetCustomAttribute(MemberInfo, Type)

Inherited from System.Attribute

GetCustomAttribute(MemberInfo, Type, Boolean) GetCustomAttribute(MemberInfo, Type, Boolean)

Inherited from System.Attribute

GetCustomAttribute(Module, Type) GetCustomAttribute(Module, Type)

Inherited from System.Attribute

GetCustomAttribute(Module, Type, Boolean) GetCustomAttribute(Module, Type, Boolean)

Inherited from System.Attribute

GetCustomAttribute(ParameterInfo, Type) GetCustomAttribute(ParameterInfo, Type)

Inherited from System.Attribute

GetCustomAttribute(ParameterInfo, Type, Boolean) GetCustomAttribute(ParameterInfo, Type, Boolean)

Inherited from System.Attribute

GetCustomAttributes(Assembly) GetCustomAttributes(Assembly)

Inherited from System.Attribute

GetCustomAttributes(Assembly, Boolean) GetCustomAttributes(Assembly, Boolean)

Inherited from System.Attribute

GetCustomAttributes(Assembly, Type) GetCustomAttributes(Assembly, Type)

Inherited from System.Attribute

GetCustomAttributes(Assembly, Type, Boolean) GetCustomAttributes(Assembly, Type, Boolean)

Inherited from System.Attribute

GetCustomAttributes(MemberInfo) GetCustomAttributes(MemberInfo)

Inherited from System.Attribute

GetCustomAttributes(MemberInfo, Boolean) GetCustomAttributes(MemberInfo, Boolean)

Inherited from System.Attribute

GetCustomAttributes(MemberInfo, Type) GetCustomAttributes(MemberInfo, Type)

Inherited from System.Attribute

GetCustomAttributes(MemberInfo, Type, Boolean) GetCustomAttributes(MemberInfo, Type, Boolean)

Inherited from System.Attribute

GetCustomAttributes(Module) GetCustomAttributes(Module)

Inherited from System.Attribute

GetCustomAttributes(Module, Boolean) GetCustomAttributes(Module, Boolean)

Inherited from System.Attribute

GetCustomAttributes(Module, Type) GetCustomAttributes(Module, Type)

Inherited from System.Attribute

GetCustomAttributes(Module, Type, Boolean) GetCustomAttributes(Module, Type, Boolean)

Inherited from System.Attribute

GetCustomAttributes(ParameterInfo) GetCustomAttributes(ParameterInfo)

Inherited from System.Attribute

GetCustomAttributes(ParameterInfo, Boolean) GetCustomAttributes(ParameterInfo, Boolean)

Inherited from System.Attribute

GetCustomAttributes(ParameterInfo, Type) GetCustomAttributes(ParameterInfo, Type)

Inherited from System.Attribute

GetCustomAttributes(ParameterInfo, Type, Boolean) GetCustomAttributes(ParameterInfo, Type, Boolean)

Inherited from System.Attribute

GetHashCode() GetHashCode()

Inherited from System.Attribute

GetType() GetType()

Inherited from System.Object

IsDefaultAttribute() IsDefaultAttribute()

Inherited from System.Attribute

IsDefined(Assembly, Type) IsDefined(Assembly, Type)

Inherited from System.Attribute

IsDefined(Assembly, Type, Boolean) IsDefined(Assembly, Type, Boolean)

Inherited from System.Attribute

IsDefined(MemberInfo, Type) IsDefined(MemberInfo, Type)

Inherited from System.Attribute

IsDefined(MemberInfo, Type, Boolean) IsDefined(MemberInfo, Type, Boolean)

Inherited from System.Attribute

IsDefined(Module, Type) IsDefined(Module, Type)

Inherited from System.Attribute

IsDefined(Module, Type, Boolean) IsDefined(Module, Type, Boolean)

Inherited from System.Attribute

IsDefined(ParameterInfo, Type) IsDefined(ParameterInfo, Type)

Inherited from System.Attribute

IsDefined(ParameterInfo, Type, Boolean) IsDefined(ParameterInfo, Type, Boolean)

Inherited from System.Attribute

Match(Object) Match(Object)

Inherited from System.Attribute

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

TypeId TypeId

Inherited from System.Attribute

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) System.Runtime.InteropServices._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Inherited from System.Attribute

_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) System.Runtime.InteropServices._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

Inherited from System.Attribute

_Attribute.GetTypeInfoCount(UInt32) System.Runtime.InteropServices._Attribute.GetTypeInfoCount(UInt32)

Inherited from System.Attribute

_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) System.Runtime.InteropServices._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Inherited from System.Attribute