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 (String, Binding­Context)

AssemblyNameWrapper.GetWrapper Method (String, BindingContext)

Gets an AssemblyName for an assembly given as a String containing its full name.

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 IAssemblyName GetWrapper(
	string assemblyFullName,
	BindingContext context
)

Parameters

assemblyFullName
Type: System.String
Full name of the assembly.
context
Type: BindingContext

[Missing <param name="context"/> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyNameWrapper.GetWrapper(System.String,PostSharp.Extensibility.BindingContext)"]

Return Value

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