public interface IKeyedServiceProvider extends IJCOBridgeReflected, IServiceProvider
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Extensions.DependencyInjection.IKeyedServiceProvider
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.Extensions.DependencyInjection.Abstractions, Version=11.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Extensions.DependencyInjection.Abstractions
|
static java.lang.String |
className
Qualified class name: Microsoft.Extensions.DependencyInjection.IKeyedServiceProvider
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
NetObject |
GetKeyedService(NetType serviceType,
NetObject serviceKey) |
NetObject |
GetRequiredKeyedService(NetType serviceType,
NetObject serviceKey) |
static IKeyedServiceProvider |
ToIKeyedServiceProvider(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IKeyedServiceProvider, a cast assert is made to check if types are compatible. |
GetService, ToIServiceProviderstatic final java.lang.String assemblyFullName
static final java.lang.String assemblyShortName
static final java.lang.String className
java.lang.String getJCOAssemblyName()
getJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IServiceProviderString representing the Fullname of reflected Assemblyjava.lang.String getJCOClassName()
getJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IServiceProviderString representing the Fullname of reflected Classjava.lang.Object getJCOInstance()
getJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IServiceProviderObject representing the instance of the instantiated Classjava.lang.String getJCOObjectName()
getJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IServiceProviderString representing the name used to allocated the object
in CLR contextJCType getJCOType()
getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IServiceProviderJCType representing the Type of the instantiated ClassNetObject GetKeyedService(NetType serviceType, NetObject serviceKey) throws java.lang.Throwable
java.lang.ThrowableNetObject GetRequiredKeyedService(NetType serviceType, NetObject serviceKey) throws java.lang.Throwable
java.lang.Throwablestatic IKeyedServiceProvider ToIKeyedServiceProvider(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IKeyedServiceProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedIKeyedServiceProvider instancejava.lang.Throwable - in case of error during cast operation