다음을 통해 공유


ServiceDescriptor.DescribeKeyed 메서드

정의

오버로드

DescribeKeyed(Type, Object, Func<IServiceProvider,Object,Object>, ServiceLifetime)

지정된 serviceType, implementationFactorylifetime을 사용하여 ServiceDescriptor의 인스턴스를 만듭니다.

DescribeKeyed(Type, Object, Type, ServiceLifetime)

지정된 serviceType, implementationTypelifetime을 사용하여 ServiceDescriptor의 인스턴스를 만듭니다.

DescribeKeyed(Type, Object, Func<IServiceProvider,Object,Object>, ServiceLifetime)

Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs

지정된 serviceType, implementationFactorylifetime을 사용하여 ServiceDescriptor의 인스턴스를 만듭니다.

public:
 static Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ DescribeKeyed(Type ^ serviceType, System::Object ^ serviceKey, Func<IServiceProvider ^, System::Object ^, System::Object ^> ^ implementationFactory, Microsoft::Extensions::DependencyInjection::ServiceLifetime lifetime);
public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor DescribeKeyed (Type serviceType, object? serviceKey, Func<IServiceProvider,object?,object> implementationFactory, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime);
static member DescribeKeyed : Type * obj * Func<IServiceProvider, obj, obj> * Microsoft.Extensions.DependencyInjection.ServiceLifetime -> Microsoft.Extensions.DependencyInjection.ServiceDescriptor
Public Shared Function DescribeKeyed (serviceType As Type, serviceKey As Object, implementationFactory As Func(Of IServiceProvider, Object, Object), lifetime As ServiceLifetime) As ServiceDescriptor

매개 변수

serviceType
Type

서비스의 유형입니다.

serviceKey
Object

서비스의 ServiceKey입니다.

implementationFactory
Func<IServiceProvider,Object,Object>

서비스 구현의 새 인스턴스를 만들 팩터리입니다.

lifetime
ServiceLifetime

서비스의 수명입니다.

반환

ServiceDescriptor의 새 인스턴스입니다.

적용 대상

DescribeKeyed(Type, Object, Type, ServiceLifetime)

Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs
Source:
ServiceDescriptor.cs

지정된 serviceType, implementationTypelifetime을 사용하여 ServiceDescriptor의 인스턴스를 만듭니다.

public:
 static Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ DescribeKeyed(Type ^ serviceType, System::Object ^ serviceKey, Type ^ implementationType, Microsoft::Extensions::DependencyInjection::ServiceLifetime lifetime);
public static Microsoft.Extensions.DependencyInjection.ServiceDescriptor DescribeKeyed (Type serviceType, object? serviceKey, Type implementationType, Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime);
static member DescribeKeyed : Type * obj * Type * Microsoft.Extensions.DependencyInjection.ServiceLifetime -> Microsoft.Extensions.DependencyInjection.ServiceDescriptor
Public Shared Function DescribeKeyed (serviceType As Type, serviceKey As Object, implementationType As Type, lifetime As ServiceLifetime) As ServiceDescriptor

매개 변수

serviceType
Type

서비스의 유형입니다.

serviceKey
Object

서비스의 ServiceKey입니다.

implementationType
Type

구현 유형입니다.

lifetime
ServiceLifetime

서비스의 수명입니다.

반환

ServiceDescriptor의 새 인스턴스입니다.

적용 대상