DefaultApplicationPartFactory.GetDefaultApplicationParts(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
The sequence of ApplicationPart instances.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for