AssemblyPart Class

An Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart backed by an Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.Assembly.

Namespace
Microsoft.AspNetCore.Mvc.ApplicationParts
Assemblies
  • Microsoft.AspNetCore.Mvc.Core

Syntax

public class AssemblyPart : ApplicationPart, IApplicationPartTypeProvider, ICompilationReferencesProvider
class Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart

Constructors

AssemblyPart(System.Reflection.Assembly)

Initalizes a new Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart instance.

public AssemblyPart(Assembly assembly)

Properties

Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.Assembly

Gets the Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.Assembly of the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart.

Return type:System.Reflection.Assembly
public Assembly Assembly { get; }
Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.Name

Gets the name of the Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart.

Return type:System.String
public override string Name { get; }
Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.Types
Return type:System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo>
public IEnumerable<TypeInfo> Types { get; }

Methods

GetReferencePaths()
Return type:System.Collections.Generic.IEnumerable<System.String>
public IEnumerable<string> GetReferencePaths()