Show / Hide Table of Contents

Class DynamicCompile

Helper class to dynamically compile C# source code

Inheritance
System.Object
DynamicCompile
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TuringTrader.Simulator
Assembly: TuringTrader.Simulator.dll
Syntax
public class DynamicCompile

Methods

| Improve this Doc View Source

CompileSource(String, MetadataReference[])

Compile C# source code

Declaration
public static Assembly CompileSource(string sourcePath, MetadataReference[] moreReferences = null)
Parameters
Type Name Description
System.String sourcePath

path to source

Microsoft.CodeAnalysis.MetadataReference[] moreReferences

additional library references

Returns
Type Description
System.Reflection.Assembly

compiled assembly

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2011-2021, Bertram Solutions LLC