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


AssemblyMetadata.Create Method

Definition

Overloads

Create(ModuleMetadata)

Creates a single-module assembly.

Create(ModuleMetadata[])

Creates a multi-module assembly.

Create(IEnumerable<ModuleMetadata>)

Creates a multi-module assembly.

Create(ImmutableArray<ModuleMetadata>)

Creates a multi-module assembly.

Create(ModuleMetadata)

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a single-module assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ Create(Microsoft::CodeAnalysis::ModuleMetadata ^ module);
public static Microsoft.CodeAnalysis.AssemblyMetadata Create (Microsoft.CodeAnalysis.ModuleMetadata module);
static member Create : Microsoft.CodeAnalysis.ModuleMetadata -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function Create (module As ModuleMetadata) As AssemblyMetadata

Parameters

module
ModuleMetadata

Manifest module.

Returns

Remarks

This object disposes module it when it is itself disposed.

Applies to

Create(ModuleMetadata[])

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a multi-module assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ Create(... cli::array <Microsoft::CodeAnalysis::ModuleMetadata ^> ^ modules);
public static Microsoft.CodeAnalysis.AssemblyMetadata Create (params Microsoft.CodeAnalysis.ModuleMetadata[] modules);
static member Create : Microsoft.CodeAnalysis.ModuleMetadata[] -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function Create (ParamArray modules As ModuleMetadata()) As AssemblyMetadata

Parameters

modules
ModuleMetadata[]

Modules comprising the assembly. The first module is the manifest module of the assembly.

Returns

Exceptions

modules is empty or contains a module that doesn't own its image (was created via Copy()).

modules contains null elements.

Remarks

This object disposes the elements of modules it when it is itself Dispose().

Applies to

Create(IEnumerable<ModuleMetadata>)

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a multi-module assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ Create(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::ModuleMetadata ^> ^ modules);
public static Microsoft.CodeAnalysis.AssemblyMetadata Create (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ModuleMetadata> modules);
static member Create : seq<Microsoft.CodeAnalysis.ModuleMetadata> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function Create (modules As IEnumerable(Of ModuleMetadata)) As AssemblyMetadata

Parameters

modules
IEnumerable<ModuleMetadata>

Modules comprising the assembly. The first module is the manifest module of the assembly.

Returns

Exceptions

modules is empty or contains a module that doesn't own its image (was created via Copy()).

modules contains null elements.

Remarks

This object disposes the elements of modules it when it is itself Dispose().

Applies to

Create(ImmutableArray<ModuleMetadata>)

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a multi-module assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ Create(System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ModuleMetadata ^> modules);
public static Microsoft.CodeAnalysis.AssemblyMetadata Create (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ModuleMetadata> modules);
static member Create : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ModuleMetadata> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function Create (modules As ImmutableArray(Of ModuleMetadata)) As AssemblyMetadata

Parameters

modules
ImmutableArray<ModuleMetadata>

Modules comprising the assembly. The first module is the manifest module of the assembly.

Returns

Exceptions

modules is empty or contains a module that doesn't own its image (was created via Copy()).

modules contains null elements.

Remarks

This object disposes the elements of modules it when it is itself Dispose().

Applies to