KeyedDependencyInjectionSpecificationTests.SimpleParentWithDynamicKeyedService.GetService Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- name
- String
Produit | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :