PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Ref­Declaration Class / Assembly­Ref­Declaration Methods / Assembly­Ref­Declaration.​Translate Method

AssemblyRefDeclaration.Translate Method

Translates the current AssemblyManifestDeclaration into a different ModuleDeclaration.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public IAssemblyDeclaration Translate(
	ModuleDeclaration targetModule
)

Parameters

targetModule
Type: PostSharp.Sdk.CodeModel.ModuleDeclaration
Module into which the current AssemblyManifestDeclaration should be translated.

Return Value

Type: IAssemblyDeclaration
The translation of the current AssemblyManifestDeclaration for targetModule.
See Also