public class IHostBuilderImplementation extends NetObject implements IHostBuilder
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Extensions.Hosting.IHostBuilder
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.Hosting.Abstractions, Version=11.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Extensions.Hosting.Abstractions
|
static java.lang.String |
className
Qualified class name: Microsoft.Extensions.Hosting.IHostBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IHostBuilderImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IHost |
Build()
Invokes the .NET member Build.
|
IHostBuilder |
ConfigureAppConfiguration(Action_2 configureDelegate)
Invokes the .NET member ConfigureAppConfiguration.
|
<TContainerBuilder extends IJCOBridgeReflected> |
ConfigureContainer(Action_2 configureDelegate)
Invokes the .NET member ConfigureContainer.
|
IHostBuilder |
ConfigureHostConfiguration(Action_1 configureDelegate)
Invokes the .NET member ConfigureHostConfiguration.
|
IHostBuilder |
ConfigureServices(Action_2 configureDelegate)
Invokes the .NET member ConfigureServices.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
IDictionary_2 |
getProperties()
Gets the value of the .NET property Properties.
|
static IHostBuilder |
ToIHostBuilder(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IHostBuilder, a cast assert is made to check if types are compatible. |
<TContainerBuilder extends IJCOBridgeReflected> |
UseServiceProviderFactory(Func_2 factory)
Invokes the .NET member UseServiceProviderFactory.
|
<TContainerBuilder extends IJCOBridgeReflected> |
UseServiceProviderFactory(IServiceProviderFactory_1 factory)
Invokes the .NET member UseServiceProviderFactory.
|
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IHostBuilderImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic IHost Build() throws java.lang.Throwable
Build in interface IHostBuilderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IHostBuilder ConfigureAppConfiguration(Action_2 configureDelegate) throws java.lang.Throwable
ConfigureAppConfiguration in interface IHostBuilderconfigureDelegate - the argument of type Action_2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic <TContainerBuilder extends IJCOBridgeReflected> IHostBuilder ConfigureContainer(Action_2 configureDelegate) throws java.lang.Throwable
ConfigureContainer in interface IHostBuilderTContainerBuilder - the type of the generic argument TContainerBuilderconfigureDelegate - the argument of type Action_2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IHostBuilder ConfigureHostConfiguration(Action_1 configureDelegate) throws java.lang.Throwable
ConfigureHostConfiguration in interface IHostBuilderconfigureDelegate - the argument of type Action_1java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IHostBuilder ConfigureServices(Action_2 configureDelegate) throws java.lang.Throwable
ConfigureServices in interface IHostBuilderconfigureDelegate - the argument of type Action_2java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IHostBuildergetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IHostBuildergetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IHostBuildergetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IHostBuildergetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IHostBuildergetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic IDictionary_2 getProperties() throws java.lang.Throwable
getProperties in interface IHostBuilderjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IHostBuilder ToIHostBuilder(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IHostBuilder, a cast assert is made to check if types are compatible.ToIHostBuilder in interface IHostBuilderfrom - IJCOBridgeReflected instance to be castedIHostBuilder instancejava.lang.Throwable - in case of error during cast operationpublic <TContainerBuilder extends IJCOBridgeReflected> IHostBuilder UseServiceProviderFactory(Func_2 factory) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, OverflowException, IndexOutOfRangeException, FormatException
UseServiceProviderFactory in interface IHostBuilderTContainerBuilder - the type of the generic argument TContainerBuilderfactory - the argument of type Func_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic <TContainerBuilder extends IJCOBridgeReflected> IHostBuilder UseServiceProviderFactory(IServiceProviderFactory_1 factory) throws java.lang.Throwable
UseServiceProviderFactory in interface IHostBuilderTContainerBuilder - the type of the generic argument TContainerBuilderfactory - the argument of type IServiceProviderFactory_1java.lang.Throwable - if the call fails in the bridge or in the CLR