ApplicationPartsTypeSource class

namespace: Serenity.Web   assemblySerenity.Net.Web

Implementation for a type source that uses ApplicationPartManager to get assemblies. Note that it only includes assemblies that are marked with TypeSourceAssemblyAttribute which is automatically added to assemblies that reference Serenity.Net.Web NuGet package (or Serenity.Net.Web.targets).

public class ApplicationPartsTypeSource : BaseAssemblyTypeSource

Public Members

name description
ApplicationPartsTypeSource(…) Implementation for a type source that uses ApplicationPartManager to get assemblies. Note that it only includes assemblies that are marked with TypeSourceAssemblyAttribute which is automatically added to assemblies that reference Serenity.Net.Web NuGet package (or Serenity.Net.Web.targets).
readonly PartManager Gets the application part manager
override GetAssemblies()

Protected Members

name description
virtual GetApplicationPartAssemblies() Gets all the assemblies from application part manager.
virtual GetImplicitAssemblies() Gets set of implicitly included assemblies, by default Serenity.Net.Core to Serenity.Net.Web
virtual IsTypeSourceAssembly(…) Returns true for assemblies that are marked with TypeSourceAssemblyAttribute
virtual TopologicalSort(…) Sorts assemblies by dependency order

See Also