Table of Contents

Class CodeInfo

Namespace
StockSharp.Algo.Compilation
Assembly
StockSharp.Algo.dll

Code info.

public class CodeInfo : NotifiableObject, IPersistable, IDisposable
Inheritance
CodeInfo
Implements
IPersistable
Extension Methods

Constructors

CodeInfo()

Initializes a new instance of the CodeInfo.

public CodeInfo()

Properties

Assembly

Last built assembly.

public byte[] Assembly { get; }

Property Value

byte[]

Context

Ecng.Compilation.AssemblyLoadContextTracker

public AssemblyLoadContextTracker Context { get; }

Property Value

AssemblyLoadContextTracker

ExtraSources

Extra source codes.

public string[] ExtraSources { get; set; }

Property Value

string[]

Id

Identifier.

public Guid Id { get; set; }

Property Value

Guid

IsCompilable

The code is compilable.

public bool IsCompilable { get; }

Property Value

bool

Name

Name.

public string Name { get; set; }

Property Value

string

ObjectType

Object type.

public Type ObjectType { get; }

Property Value

Type

References

References.

public INotifyList<CodeReference> References { get; }

Property Value

INotifyList<CodeReference>

Text

Code.

public string Text { get; set; }

Property Value

string

Methods

Compile(Func<Type, bool>)

Compile code.

public CompilationResult Compile(Func<Type, bool> isTypeCompatible)

Parameters

isTypeCompatible Func<Type, bool>

Is type compatible.

Returns

CompilationResult

Ecng.Compilation.CompilationResult

Load(SettingsStorage)

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Save(SettingsStorage)

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Events

Compiled

Compiled event.

public event Action Compiled

Event Type

Action