CodeExtensions

StockSharp.Algo.Compilation

Extension class.

Свойства

DefaultReferences : IEnumerable<AssemblyReference>

Default references.

FSharpReferences : IEnumerable<AssemblyReference>

F# references.

ProjectReferences : IEnumerable<ICodeReference>

Project references.

Методы

AddAsmRef(CodeInfo, string)

Add assembly reference.

ci
CodeInfo
asmFile
Assembly path.
AddProjectReference(ICodeReference)

Add project reference.

reference
ICodeReference
CreateAssemblyReferences(IEnumerable<string>) : IEnumerable<AssemblyReference>

Create assembly references.

names
Assembly names.

Возвращает: List of AssemblyReference.

GetCompiler(string) : ICompiler

Try get compiler for the specified file extension.

fileExt
File extension.

Возвращает: ICompiler

GetCSharpCompiler() : ICompiler

Get C# compiler.

Возвращает: ICompiler

IsCodeExtension(string) : bool

Determine whether the specified file extension is a code file.

fileExt
File extension.

Возвращает: Check result.

IsReferencesSupported(string) : bool

Determines whether the specified file extension supports references.

langExt
Language

Возвращает: Check result.

IsReferencesSupported(CodeInfo) : bool

Determine whether the specified code supports references.

code
CodeInfo

Возвращает: Check result.

RemoveProjectReference(string) : bool

Remove project reference.

id
Id

Возвращает: Check result.

TryGetCompiler(string) : ICompiler

Try get compiler for the specified language.

fileExt
File extension.

Возвращает: ICompiler

TryGetCSharpCompiler() : ICompiler

Try get C# compiler.

Возвращает: ICompiler

TryGetProjectReference(string, ICodeReference) : bool

Try get project reference.

id
Id
reference
ICodeReference

Возвращает: Check result.

Поля

DefaultLanguage : string

Default language.

MsCorLib : string

Microsoft Core Library.