CodeInfo

StockSharp.Algo.Compilation

コード情報。

継承元: NotifiableObject

実装: IPersistable, IDisposable

コンストラクター

CodeInfo
public CodeInfo()
codeInfo = CodeInfo()

CodeInfo の新規インスタンスを初期化します。

プロパティ

Assembly
public byte[] Assembly { get; private set; }
value = codeInfo.Assembly
codeInfo.Assembly = value

最終組み立て。

AssemblyReferences
public IList<AssemblyReference> AssemblyReferences { get; }
value = codeInfo.AssemblyReferences

アセンブリ参照。

ExtraSources
public string[] ExtraSources { get; set; }
value = codeInfo.ExtraSources
codeInfo.ExtraSources = value

ソースコードの余分。

Id
public Guid Id { get; set; }
value = codeInfo.Id
codeInfo.Id = value

識別子。

IsCompilable
public bool IsCompilable { get; private set; }
value = codeInfo.IsCompilable
codeInfo.IsCompilable = value

コードはコンパイル可能です。

Language
public string Language { get; set; }
value = codeInfo.Language
codeInfo.Language = value

コード言語。

ModuleName
public string ModuleName { get; set; }
value = codeInfo.ModuleName
codeInfo.ModuleName = value

モジュール名。

Name
public string Name { get; set; }
value = codeInfo.Name
codeInfo.Name = value

お名前.

NuGetReferences
public IList<NuGetReference> NuGetReferences { get; }
value = codeInfo.NuGetReferences

NuGet references.

ObjectType
public Type ObjectType { get; private set; }
value = codeInfo.ObjectType
codeInfo.ObjectType = value

オブジェクトタイプ。

ProjectReferences
public IList<ICodeReference> ProjectReferences { get; }
value = codeInfo.ProjectReferences

ファイル参照。

Text
public string Text { get; set; }
value = codeInfo.Text
codeInfo.Text = value

コード。

メソッド

Compile
public IEnumerable<CompilationError> Compile(Func<Type, bool> isTypeCompatible, string typeName)
result = codeInfo.Compile(isTypeCompatible, typeName)

コンパイルコード。

isTypeCompatible
型は互換性があります。
typeName
お名前(必須)

戻り値: 担当: 佐藤 宏

CompileAsync
public Task<IEnumerable<CompilationError>> CompileAsync(Func<Type, bool> isTypeCompatible, string typeName, CancellationToken cancellationToken)
result = codeInfo.CompileAsync(isTypeCompatible, typeName, cancellationToken)

コンパイルコード。

isTypeCompatible
型は互換性があります。
typeName
お名前(必須)
cancellationToken
担当: 佐藤 宏

戻り値: 担当: 佐藤 宏

Dispose
public void Dispose()
codeInfo.Dispose()

使い捨て可能を実装するプール内のアイテムの処分。

Load
public void Load(SettingsStorage storage)
codeInfo.Load(storage)

設定をロードします。

storage
設定ストレージ。
Save
public void Save(SettingsStorage storage)
codeInfo.Save(storage)

設定を保存します。

storage
設定ストレージ。

イベント

Compiled
public event Action Compiled
codeInfo.Compiled += handler

参加イベント