PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Name­Wrapper Class / Assembly­Name­Wrapper Methods / Assembly­Name­Wrapper.​Get­Wrapper Method / Assembly­Name­Wrapper.​Get­Wrapper Method (Assembly, Boolean)

AssemblyNameWrapper.GetWrapper Method (Assembly, Boolean)

Gets an AssemblyName for an Assembly.

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 static AssemblyNameWrapper GetWrapper(
	Assembly assembly,
	bool ignoreProcessorArchitecture
)

Parameters

assembly
Type: System.Reflection.Assembly
Assembly.
ignoreProcessorArchitecture
Type: System.Boolean

Return Value

Type: AssemblyNameWrapper
An AssemblyNameWrapper instance (eventually cached) corresponding to assembly.
See Also