Click or drag to resize

HPluginCompilationConfiguration Class

The configuration used to compile usercode HPlugins into assemblies.
Inheritance Hierarchy
SystemObject
  com.tiberiumfusion.ttplugins.HarmonyPluginsHPluginCompilationConfiguration

Namespace:  com.tiberiumfusion.ttplugins.HarmonyPlugins
Assembly:  TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntax
public class HPluginCompilationConfiguration
Request Example View Source

The HPluginCompilationConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodHPluginCompilationConfiguration
Initializes a new instance of the HPluginCompilationConfiguration class
Top
Properties
  NameDescription
Public propertyClearTemporaryFilesWhenDone
If true, the ReferencesInMemory that were written to temporary disk copies will be deleted once the compile operation is complete.
Public propertyCompilerArguments
Command-line arguments provided to CompilerParameters.CompilerOptions during plugin compile. By default, this is "/optimize".
Public propertyDeleteOutputFilesFromDiskWhenDone
If true, the generated assembly and its pdb will be deleted from the disk once the compilation has finished.
Public propertyDiskOutputDirectory
Directory where the compiled output files will be placed. Set to null to use the default.
Public propertyReferencesInMemory
List of all references that are in memory. HPluginAssemblyCompiler.Compile() will write temporary disk copies of these files to a temporary folder for CodeDom to reference.
Public propertyReferencesOnDisk
List of paths to all references needed for plugin compilation (i.e. Terraria.exe and its extracted dependencies). Must be file paths on the disk, since CodeDom cannot use in-memory assemblies.
Public propertyReuseTemporaryFiles
If true, ReferencesInMemory won't be written to temporary disk copies, and the contents of the folder will be re-used instead.
Public propertySingleAssemblyOutput
If true, all source files will be compiled into a single output assembly. If false, each source file will be compiled into its own assembly.
Public propertySourceFiles
List of paths to all CS source files to use.
Public propertyUserFilesRootDirectory
Path to the root IO.PluginsUserFilesFolder directory that contains that SourceFiles.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also