CodeInfo

StockSharp.Algo.Compilation

Code info.

Herda de: NotifiableObject

Implementa: IPersistable, IDisposable

Construtores

CodeInfo()

Initializes a new instance of the CodeInfo.

Propriedades

Assembly : byte[]

Last built assembly.

AssemblyReferences : IList<AssemblyReference>

Assembly references.

ExtraSources : string[]

Extra source codes.

Id : Guid

Identifier.

IsCompilable : bool

The code is compilable.

Language : string

Code language.

ModuleName : string

Module name.

Name : string

Name.

NuGetReferences : IList<NuGetReference>

NuGet references.

ObjectType : Type

Object type.

ProjectReferences : IList<ICodeReference>

File references.

Text : string

Code.

Métodos

Compile(Func<Type, bool>, string) : IEnumerable<CompilationError>

Compile code.

isTypeCompatible
Is type compatible.
typeName
Type name.

Retorna: CompilationResult

CompileAsync(Func<Type, bool>, string, CancellationToken) : Task<IEnumerable<CompilationError>>

Compile code.

isTypeCompatible
Is type compatible.
typeName
Type name.
cancellationToken
CancellationToken

Retorna: CompilationResult

Dispose()

Disposes of items in the pool that implement IDisposable.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.

Eventos

Compiled : Action

Compiled event.