CodeInfo
StockSharp.Algo.Compilation
コード情報。
継承元: NotifiableObject
実装: IPersistable, IDisposable
コンストラクター
プロパティ
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
ソースコードの余分。
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
モジュール名。
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
ファイル参照。
メソッド
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
- 担当: 佐藤 宏
戻り値: 担当: 佐藤 宏