Megosztás a következőn keresztül:


AssemblyIdentity.FromAssemblyDefinition(Assembly) Method

Definition

Retrieves assembly definition identity from given runtime assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyIdentity ^ FromAssemblyDefinition(System::Reflection::Assembly ^ assembly);
public static Microsoft.CodeAnalysis.AssemblyIdentity FromAssemblyDefinition (System.Reflection.Assembly assembly);
static member FromAssemblyDefinition : System.Reflection.Assembly -> Microsoft.CodeAnalysis.AssemblyIdentity
Public Shared Function FromAssemblyDefinition (assembly As Assembly) As AssemblyIdentity

Parameters

assembly
Assembly

The runtime assembly.

Returns

Assembly definition identity.

Exceptions

assembly is null.

Applies to