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.