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.