CodeInfo
StockSharp.Algo.Compilation
Code info.
Inherits: NotifiableObject
Implements: IPersistable, IDisposable
Constructors
CodeInfo()
Initializes a new instance of the CodeInfo.
Properties
AssemblyReferences : IList<AssemblyReference>
Assembly references.
ExtraSources : string[]
Extra source codes.
IsCompilable : bool
The code is compilable.
ModuleName : string
Module name.
NuGetReferences : IList<NuGetReference>
NuGet references.
ObjectType : Type
Object type.
ProjectReferences : IList<ICodeReference>
File references.
Methods
Compile(Func<Type, bool>, string) : IEnumerable<CompilationError>
Compile code.
- isTypeCompatible
- Is type compatible.
- typeName
- Type name.
Returns: CompilationResult
CompileAsync(Func<Type, bool>, string, CancellationToken) : Task<IEnumerable<CompilationError>>
Compile code.
- isTypeCompatible
- Is type compatible.
- typeName
- Type name.
- cancellationToken
- CancellationToken
Returns: CompilationResult
Dispose()
Disposes of items in the pool that implement IDisposable.