public class CompilerParameters extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.CompilerParameters
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: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.CompilerParameters
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CompilerParameters() |
CompilerParameters(java.lang.Object instance)
Internal constructor.
|
CompilerParameters(java.lang.String[] assemblyNames) |
CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName) |
CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName,
boolean includeDebugInformation) |
| Modifier and Type | Method and Description |
|---|---|
static CompilerParameters |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CompilerParameters, a cast assert is made to check if types are compatible. |
java.lang.String |
getCompilerOptions() |
java.lang.String |
getCoreAssemblyFileName() |
StringCollection |
getEmbeddedResources() |
Evidence |
getEvidence() |
boolean |
getGenerateExecutable() |
boolean |
getGenerateInMemory() |
boolean |
getIncludeDebugInformation() |
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
|
StringCollection |
getLinkedResources() |
java.lang.String |
getMainClass() |
java.lang.String |
getOutputAssembly() |
StringCollection |
getReferencedAssemblies() |
TempFileCollection |
getTempFiles() |
boolean |
getTreatWarningsAsErrors() |
int |
getWarningLevel() |
java.lang.String |
getWin32Resource() |
void |
setCompilerOptions(java.lang.String CompilerOptions) |
void |
setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName) |
void |
setEvidence(Evidence Evidence) |
void |
setGenerateExecutable(boolean GenerateExecutable) |
void |
setGenerateInMemory(boolean GenerateInMemory) |
void |
setIncludeDebugInformation(boolean IncludeDebugInformation) |
void |
setJCOInstance(JCObject instance) |
void |
setMainClass(java.lang.String MainClass) |
void |
setOutputAssembly(java.lang.String OutputAssembly) |
void |
setTempFiles(TempFileCollection TempFiles) |
void |
setTreatWarningsAsErrors(boolean TreatWarningsAsErrors) |
void |
setWarningLevel(int WarningLevel) |
void |
setWin32Resource(java.lang.String Win32Resource) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CompilerParameters()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic CompilerParameters(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic CompilerParameters(java.lang.String[] assemblyNames)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic CompilerParameters(java.lang.String[] assemblyNames,
java.lang.String outputName,
boolean includeDebugInformation)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic static CompilerParameters cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CompilerParameters, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCompilerParameters instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getCompilerOptions()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getCoreAssemblyFileName()
throws java.lang.Throwable
java.lang.Throwablepublic StringCollection getEmbeddedResources() throws java.lang.Throwable
java.lang.Throwablepublic Evidence getEvidence() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionpublic boolean getGenerateExecutable()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getGenerateInMemory()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIncludeDebugInformation()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic StringCollection getLinkedResources() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getMainClass()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getOutputAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic StringCollection getReferencedAssemblies() throws java.lang.Throwable
java.lang.Throwablepublic TempFileCollection getTempFiles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, SecurityException, InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionSecurityExceptionInvalidOperationExceptionpublic boolean getTreatWarningsAsErrors()
throws java.lang.Throwable
java.lang.Throwablepublic int getWarningLevel()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getWin32Resource()
throws java.lang.Throwable
java.lang.Throwablepublic void setCompilerOptions(java.lang.String CompilerOptions)
throws java.lang.Throwable
java.lang.Throwablepublic void setCoreAssemblyFileName(java.lang.String CoreAssemblyFileName)
throws java.lang.Throwable
java.lang.Throwablepublic void setEvidence(Evidence Evidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionpublic void setGenerateExecutable(boolean GenerateExecutable)
throws java.lang.Throwable
java.lang.Throwablepublic void setGenerateInMemory(boolean GenerateInMemory)
throws java.lang.Throwable
java.lang.Throwablepublic void setIncludeDebugInformation(boolean IncludeDebugInformation)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setMainClass(java.lang.String MainClass)
throws java.lang.Throwable
java.lang.Throwablepublic void setOutputAssembly(java.lang.String OutputAssembly)
throws java.lang.Throwable
java.lang.Throwablepublic void setTempFiles(TempFileCollection TempFiles) throws java.lang.Throwable
java.lang.Throwablepublic void setTreatWarningsAsErrors(boolean TreatWarningsAsErrors)
throws java.lang.Throwable
java.lang.Throwablepublic void setWarningLevel(int WarningLevel)
throws java.lang.Throwable
java.lang.Throwablepublic void setWin32Resource(java.lang.String Win32Resource)
throws java.lang.Throwable
java.lang.Throwable