다음을 통해 공유


KeyedDependencyInjectionSpecificationTests.SimpleParentWithDynamicKeyedService.GetService Method

Definition

public:
 Microsoft::Extensions::DependencyInjection::Specification::KeyedDependencyInjectionSpecificationTests::ISimpleService ^ GetService(System::String ^ name);
public Microsoft.Extensions.DependencyInjection.Specification.KeyedDependencyInjectionSpecificationTests.ISimpleService GetService (string name);
member this.GetService : string -> Microsoft.Extensions.DependencyInjection.Specification.KeyedDependencyInjectionSpecificationTests.ISimpleService
Public Function GetService (name As String) As KeyedDependencyInjectionSpecificationTests.ISimpleService

Parameters

name
String

Returns

Applies to