Package system.codedom.compiler
Class CompilerResults
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.codedom.compiler.CompilerResults
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
WorkflowCompilerResults
public class CompilerResults extends NetObject
The base .NET class managing System.CodeDom.Compiler.CompilerResults, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.CompilerResults
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.CodeDom.Compiler.CompilerResultsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CompilerResults()CompilerResults(java.lang.Object instance)Internal constructor.CompilerResults(TempFileCollection tempFiles)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompilerResultscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCompilerResults, a cast assert is made to check if types are compatible.AssemblygetCompiledAssembly()CompilerErrorCollectiongetErrors()EvidencegetEvidence()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetNativeCompilerReturnValue()StringCollectiongetOutput()java.lang.StringgetPathToAssembly()TempFileCollectiongetTempFiles()voidsetCompiledAssembly(Assembly CompiledAssembly)voidsetEvidence(Evidence Evidence)voidsetJCOInstance(JCObject instance)voidsetNativeCompilerReturnValue(int NativeCompilerReturnValue)voidsetPathToAssembly(java.lang.String PathToAssembly)voidsetTempFiles(TempFileCollection TempFiles)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.CodeDom.Compiler.CompilerResults- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompilerResults
public CompilerResults(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CompilerResults
public CompilerResults() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CompilerResults
public CompilerResults(TempFileCollection tempFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CompilerResults cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCompilerResults, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CompilerResultsinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getNativeCompilerReturnValue
public int getNativeCompilerReturnValue() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setNativeCompilerReturnValue
public void setNativeCompilerReturnValue(int NativeCompilerReturnValue) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getErrors
public CompilerErrorCollection getErrors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTempFiles
public TempFileCollection getTempFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTempFiles
public void setTempFiles(TempFileCollection TempFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOutput
public StringCollection getOutput() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCompiledAssembly
public Assembly getCompiledAssembly() throws java.lang.Throwable, ArgumentNullException, FormatException, NotSupportedException, InvalidOperationException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
setCompiledAssembly
public void setCompiledAssembly(Assembly CompiledAssembly) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEvidence
public Evidence getEvidence() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationException
-
setEvidence
public void setEvidence(Evidence Evidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationException
-
getPathToAssembly
public java.lang.String getPathToAssembly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setPathToAssembly
public void setPathToAssembly(java.lang.String PathToAssembly) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-