共用方式為


AppDomainSiloHost.CodeGeneratorOptimizer.AddCachedAssembly 方法

定義

將快取的元件新增至程式碼產生器。

public void AddCachedAssembly (string targetAssemblyName, Orleans.CodeGeneration.GeneratedAssembly cachedAssembly);
member this.AddCachedAssembly : string * Orleans.CodeGeneration.GeneratedAssembly -> unit
Public Sub AddCachedAssembly (targetAssemblyName As String, cachedAssembly As GeneratedAssembly)

參數

targetAssemblyName
String

產生快取元件的元件。

cachedAssembly
GeneratedAssembly

產生的元件。

適用於