public class IHostingEnvironmentImplementation extends NetObject implements IHostingEnvironment
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Extensions.Hosting.IHostingEnvironment
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.IHostingEnvironment
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IHostingEnvironmentImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationName()
Gets the value of the .NET property ApplicationName.
|
IFileProvider |
getContentRootFileProvider()
Gets the value of the .NET property ContentRootFileProvider.
|
java.lang.String |
getContentRootPath()
Gets the value of the .NET property ContentRootPath.
|
java.lang.String |
getEnvironmentName()
Gets the value of the .NET property EnvironmentName.
|
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. |
void |
setApplicationName(java.lang.String ApplicationName)
Sets the value of the .NET property ApplicationName.
|
void |
setContentRootFileProvider(IFileProvider ContentRootFileProvider)
Sets the value of the .NET property ContentRootFileProvider.
|
void |
setContentRootPath(java.lang.String ContentRootPath)
Sets the value of the .NET property ContentRootPath.
|
void |
setEnvironmentName(java.lang.String EnvironmentName)
Sets the value of the .NET property EnvironmentName.
|
static IHostingEnvironment |
ToIHostingEnvironment(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IHostingEnvironment, a cast assert is made to check if types are compatible. |
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 IHostingEnvironmentImplementation(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 java.lang.String getApplicationName()
throws java.lang.Throwable
getApplicationName in interface IHostingEnvironmentjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IFileProvider getContentRootFileProvider() throws java.lang.Throwable
getContentRootFileProvider in interface IHostingEnvironmentjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getContentRootPath()
throws java.lang.Throwable
getContentRootPath in interface IHostingEnvironmentjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getEnvironmentName()
throws java.lang.Throwable
getEnvironmentName in interface IHostingEnvironmentjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IHostingEnvironmentgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IHostingEnvironmentgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IHostingEnvironmentgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IHostingEnvironmentgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IHostingEnvironmentgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic void setApplicationName(java.lang.String ApplicationName)
throws java.lang.Throwable
setApplicationName in interface IHostingEnvironmentApplicationName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setContentRootFileProvider(IFileProvider ContentRootFileProvider) throws java.lang.Throwable
setContentRootFileProvider in interface IHostingEnvironmentContentRootFileProvider - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setContentRootPath(java.lang.String ContentRootPath)
throws java.lang.Throwable
setContentRootPath in interface IHostingEnvironmentContentRootPath - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setEnvironmentName(java.lang.String EnvironmentName)
throws java.lang.Throwable
setEnvironmentName in interface IHostingEnvironmentEnvironmentName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IHostingEnvironment ToIHostingEnvironment(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IHostingEnvironment, a cast assert is made to check if types are compatible.ToIHostingEnvironment in interface IHostingEnvironmentfrom - IJCOBridgeReflected instance to be castedIHostingEnvironment instancejava.lang.Throwable - in case of error during cast operation