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­Name, Binding­Context, Boolean)

AssemblyNameWrapper.GetWrapper Method (AssemblyName, BindingContext, Boolean)

Gets an AssemblyName for an assembly given as an AssemblyName.

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(
	AssemblyName assemblyName,
	BindingContext context,
	bool ignoreProcessorArchitecture = false
)

Parameters

assemblyName
Type: System.Reflection.AssemblyName
Assembly name.
context
Type: BindingContext
ignoreProcessorArchitecture (Optional)
Type: System.Boolean

Return Value

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