Package microsoft.build.tasks.hosting
Class ICscHostObject2Implementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.tasks.hosting.ICscHostObject2Implementation
-
- All Implemented Interfaces:
ITaskHost,ICscHostObject,ICscHostObject2,IJCOBridgeReflected
public class ICscHostObject2Implementation extends NetObject implements ICscHostObject2
The base .NET class managing Microsoft.Build.Tasks.Hosting.ICscHostObject2, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Hosting.ICscHostObject2
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: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Build.Tasks.v4.0static java.lang.StringclassNameQualified class name: Microsoft.Build.Tasks.Hosting.ICscHostObject2static JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ICscHostObject2Implementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidBeginInitialization()booleanCompile()booleanEndInitialization(JCORefOut errorMessage, JCORefOut<java.util.concurrent.atomic.AtomicInteger> errorCode)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 TypebooleanIsDesignTime()booleanIsUpToDate()booleanSetAdditionalLibPaths(java.lang.String[] additionalLibPaths)booleanSetAdditionalLibPaths(JCORefOut dupParam0)booleanSetAddModules(java.lang.String[] addModules)booleanSetAddModules(JCORefOut dupParam0)booleanSetAllowUnsafeBlocks(boolean allowUnsafeBlocks)booleanSetBaseAddress(java.lang.String baseAddress)booleanSetCheckForOverflowUnderflow(boolean checkForOverflowUnderflow)booleanSetCodePage(int codePage)booleanSetDebugType(java.lang.String debugType)booleanSetDefineConstants(java.lang.String defineConstants)booleanSetDelaySign(boolean delaySignExplicitlySet, boolean delaySign)booleanSetDisabledWarnings(java.lang.String disabledWarnings)booleanSetDocumentationFile(java.lang.String documentationFile)booleanSetEmitDebugInformation(boolean emitDebugInformation)booleanSetErrorReport(java.lang.String errorReport)booleanSetFileAlignment(int fileAlignment)booleanSetGenerateFullPaths(boolean generateFullPaths)booleanSetKeyContainer(java.lang.String keyContainer)booleanSetKeyFile(java.lang.String keyFile)booleanSetLangVersion(java.lang.String langVersion)booleanSetLinkResources(ITaskItem[] linkResources)booleanSetMainEntryPoint(java.lang.String targetType, java.lang.String mainEntryPoint)booleanSetModuleAssemblyName(java.lang.String moduleAssemblyName)booleanSetNoConfig(boolean noConfig)booleanSetNoStandardLib(boolean noStandardLib)booleanSetOptimize(boolean optimize)booleanSetOutputAssembly(java.lang.String outputAssembly)booleanSetPdbFile(java.lang.String pdbFile)booleanSetPlatform(java.lang.String platform)booleanSetReferences(ITaskItem[] references)booleanSetResources(ITaskItem[] resources)booleanSetResponseFiles(ITaskItem[] responseFiles)booleanSetSources(ITaskItem[] sources)booleanSetTargetType(java.lang.String targetType)booleanSetTreatWarningsAsErrors(boolean treatWarningsAsErrors)booleanSetWarningLevel(int warningLevel)booleanSetWarningsAsErrors(java.lang.String warningsAsErrors)booleanSetWarningsNotAsErrors(java.lang.String warningsNotAsErrors)booleanSetWin32Icon(java.lang.String win32Icon)booleanSetWin32Manifest(java.lang.String win32Manifest)booleanSetWin32Resource(java.lang.String win32Resource)static ICscHostObject2ToICscHostObject2(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoICscHostObject2, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.Hosting.ICscHostObject2- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICscHostObject- Specified by:
getJCOAssemblyNamein interfaceICscHostObject2- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceITaskHost- 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 interfaceICscHostObject- Specified by:
getJCOClassNamein interfaceICscHostObject2- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceITaskHost- 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 interfaceICscHostObject- Specified by:
getJCOObjectNamein interfaceICscHostObject2- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceITaskHost- 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 interfaceICscHostObject- Specified by:
getJCOInstancein interfaceICscHostObject2- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceITaskHost- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICscHostObject- Specified by:
getJCOTypein interfaceICscHostObject2- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceITaskHost- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToICscHostObject2
public static ICscHostObject2 ToICscHostObject2(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoICscHostObject2, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ICscHostObject2instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Compile
public boolean Compile() throws java.lang.Throwable- Specified by:
Compilein interfaceICscHostObject- Throws:
java.lang.Throwable
-
EndInitialization
public boolean EndInitialization(JCORefOut errorMessage, JCORefOut<java.util.concurrent.atomic.AtomicInteger> errorCode) throws java.lang.Throwable
- Specified by:
EndInitializationin interfaceICscHostObject- Throws:
java.lang.Throwable
-
IsDesignTime
public boolean IsDesignTime() throws java.lang.Throwable- Specified by:
IsDesignTimein interfaceICscHostObject- Throws:
java.lang.Throwable
-
IsUpToDate
public boolean IsUpToDate() throws java.lang.Throwable- Specified by:
IsUpToDatein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetAdditionalLibPaths
public boolean SetAdditionalLibPaths(java.lang.String[] additionalLibPaths) throws java.lang.Throwable- Specified by:
SetAdditionalLibPathsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetAdditionalLibPaths
public boolean SetAdditionalLibPaths(JCORefOut dupParam0) throws java.lang.Throwable
- Specified by:
SetAdditionalLibPathsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetAddModules
public boolean SetAddModules(java.lang.String[] addModules) throws java.lang.Throwable- Specified by:
SetAddModulesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetAddModules
public boolean SetAddModules(JCORefOut dupParam0) throws java.lang.Throwable
- Specified by:
SetAddModulesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetAllowUnsafeBlocks
public boolean SetAllowUnsafeBlocks(boolean allowUnsafeBlocks) throws java.lang.Throwable- Specified by:
SetAllowUnsafeBlocksin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetBaseAddress
public boolean SetBaseAddress(java.lang.String baseAddress) throws java.lang.Throwable- Specified by:
SetBaseAddressin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetCheckForOverflowUnderflow
public boolean SetCheckForOverflowUnderflow(boolean checkForOverflowUnderflow) throws java.lang.Throwable- Specified by:
SetCheckForOverflowUnderflowin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetCodePage
public boolean SetCodePage(int codePage) throws java.lang.Throwable- Specified by:
SetCodePagein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetDebugType
public boolean SetDebugType(java.lang.String debugType) throws java.lang.Throwable- Specified by:
SetDebugTypein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetDefineConstants
public boolean SetDefineConstants(java.lang.String defineConstants) throws java.lang.Throwable- Specified by:
SetDefineConstantsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetDelaySign
public boolean SetDelaySign(boolean delaySignExplicitlySet, boolean delaySign) throws java.lang.Throwable- Specified by:
SetDelaySignin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetDisabledWarnings
public boolean SetDisabledWarnings(java.lang.String disabledWarnings) throws java.lang.Throwable- Specified by:
SetDisabledWarningsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetDocumentationFile
public boolean SetDocumentationFile(java.lang.String documentationFile) throws java.lang.Throwable- Specified by:
SetDocumentationFilein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetEmitDebugInformation
public boolean SetEmitDebugInformation(boolean emitDebugInformation) throws java.lang.Throwable- Specified by:
SetEmitDebugInformationin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetErrorReport
public boolean SetErrorReport(java.lang.String errorReport) throws java.lang.Throwable- Specified by:
SetErrorReportin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetFileAlignment
public boolean SetFileAlignment(int fileAlignment) throws java.lang.Throwable- Specified by:
SetFileAlignmentin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetGenerateFullPaths
public boolean SetGenerateFullPaths(boolean generateFullPaths) throws java.lang.Throwable- Specified by:
SetGenerateFullPathsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetKeyContainer
public boolean SetKeyContainer(java.lang.String keyContainer) throws java.lang.Throwable- Specified by:
SetKeyContainerin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetKeyFile
public boolean SetKeyFile(java.lang.String keyFile) throws java.lang.Throwable- Specified by:
SetKeyFilein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetLangVersion
public boolean SetLangVersion(java.lang.String langVersion) throws java.lang.Throwable- Specified by:
SetLangVersionin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetLinkResources
public boolean SetLinkResources(ITaskItem[] linkResources) throws java.lang.Throwable
- Specified by:
SetLinkResourcesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetMainEntryPoint
public boolean SetMainEntryPoint(java.lang.String targetType, java.lang.String mainEntryPoint) throws java.lang.Throwable- Specified by:
SetMainEntryPointin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetModuleAssemblyName
public boolean SetModuleAssemblyName(java.lang.String moduleAssemblyName) throws java.lang.Throwable- Specified by:
SetModuleAssemblyNamein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetNoConfig
public boolean SetNoConfig(boolean noConfig) throws java.lang.Throwable- Specified by:
SetNoConfigin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetNoStandardLib
public boolean SetNoStandardLib(boolean noStandardLib) throws java.lang.Throwable- Specified by:
SetNoStandardLibin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetOptimize
public boolean SetOptimize(boolean optimize) throws java.lang.Throwable- Specified by:
SetOptimizein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetOutputAssembly
public boolean SetOutputAssembly(java.lang.String outputAssembly) throws java.lang.Throwable- Specified by:
SetOutputAssemblyin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetPdbFile
public boolean SetPdbFile(java.lang.String pdbFile) throws java.lang.Throwable- Specified by:
SetPdbFilein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetPlatform
public boolean SetPlatform(java.lang.String platform) throws java.lang.Throwable- Specified by:
SetPlatformin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetReferences
public boolean SetReferences(ITaskItem[] references) throws java.lang.Throwable
- Specified by:
SetReferencesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetResources
public boolean SetResources(ITaskItem[] resources) throws java.lang.Throwable
- Specified by:
SetResourcesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetResponseFiles
public boolean SetResponseFiles(ITaskItem[] responseFiles) throws java.lang.Throwable
- Specified by:
SetResponseFilesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetSources
public boolean SetSources(ITaskItem[] sources) throws java.lang.Throwable
- Specified by:
SetSourcesin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetTargetType
public boolean SetTargetType(java.lang.String targetType) throws java.lang.Throwable- Specified by:
SetTargetTypein interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetTreatWarningsAsErrors
public boolean SetTreatWarningsAsErrors(boolean treatWarningsAsErrors) throws java.lang.Throwable- Specified by:
SetTreatWarningsAsErrorsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetWarningLevel
public boolean SetWarningLevel(int warningLevel) throws java.lang.Throwable- Specified by:
SetWarningLevelin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetWarningsAsErrors
public boolean SetWarningsAsErrors(java.lang.String warningsAsErrors) throws java.lang.Throwable- Specified by:
SetWarningsAsErrorsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetWarningsNotAsErrors
public boolean SetWarningsNotAsErrors(java.lang.String warningsNotAsErrors) throws java.lang.Throwable- Specified by:
SetWarningsNotAsErrorsin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetWin32Icon
public boolean SetWin32Icon(java.lang.String win32Icon) throws java.lang.Throwable- Specified by:
SetWin32Iconin interfaceICscHostObject- Throws:
java.lang.Throwable
-
SetWin32Manifest
public boolean SetWin32Manifest(java.lang.String win32Manifest) throws java.lang.Throwable- Specified by:
SetWin32Manifestin interfaceICscHostObject2- Throws:
java.lang.Throwable
-
SetWin32Resource
public boolean SetWin32Resource(java.lang.String win32Resource) throws java.lang.Throwable- Specified by:
SetWin32Resourcein interfaceICscHostObject- Throws:
java.lang.Throwable
-
BeginInitialization
public void BeginInitialization() throws java.lang.Throwable- Specified by:
BeginInitializationin interfaceICscHostObject- Throws:
java.lang.Throwable
-
-