Share via


CompiledRazorAssemblyApplicationPartFactory.GetDefaultApplicationParts Method

Definition

Gets the sequence of ApplicationPart instances that are created by this instance of DefaultApplicationPartFactory.

Applications may use this method to get the same behavior as this factory produces during MVC's default part discovery.

public:
 static System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ GetDefaultApplicationParts(System::Reflection::Assembly ^ assembly);
public static System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> GetDefaultApplicationParts (System.Reflection.Assembly assembly);
static member GetDefaultApplicationParts : System.Reflection.Assembly -> seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>
Public Shared Iterator Function GetDefaultApplicationParts (assembly As Assembly) As IEnumerable(Of ApplicationPart)
Public Shared Function GetDefaultApplicationParts (assembly As Assembly) As IEnumerable(Of ApplicationPart)

Parameters

assembly
Assembly

The Assembly.

Returns

The sequence of ApplicationPart instances.

Applies to