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
IsCompilable
The code is compilable.
public bool IsCompilable { get; }
Property Value
Name
Name.
public string Name { get; set; }
Property Value
ObjectType
Object type.
public Type ObjectType { get; }
Property Value
References
References.
public INotifyList<CodeReference> References { get; }
Property Value
- INotifyList<CodeReference>
Text
Code.
public string Text { get; set; }
Property Value
Methods
Compile(Func<Type, bool>)
Compile code.
public CompilationResult Compile(Func<Type, bool> isTypeCompatible)
Parameters
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