DefaultAssemblyProvider Class¶
Constructors¶
-
DefaultAssemblyProvider
(ILibraryManager)¶ Arguments: - libraryManager (ILibraryManager) –
public DefaultAssemblyProvider(ILibraryManager libraryManager)
-
Properties¶
-
CandidateAssemblies
()¶ Return type: System.Collections.Generic.IEnumerable{System.Reflection.Assembly} public IEnumerable<Assembly> CandidateAssemblies { get; }
-
ReferenceAssemblies
()¶ Gets the set of assembly names that are used as root for discovery of MVC controllers, view components and views.
Return type: System.Collections.Generic.HashSet{System.String} protected virtual HashSet<string> ReferenceAssemblies { get; }
-
Methods¶
-
Microsoft.AspNet.Mvc.DefaultAssemblyProvider.GetCandidateLibraries()
Returns a list of libraries that references the assemblies in [Microsoft.AspNet.Mvc.DefaultAssemblyProvider.ReferenceAssemblies](Microsoft.AspNet.Mvc.DefaultAssemblyProvider.yml). By default it returns all assemblies that reference any of the primary MVC assemblies while ignoring MVC assemblies.
Return type: System.Collections.Generic.IEnumerable{ILibraryInformation} Returns: A set of @!:ILibraryInformation-. protected virtual IEnumerable<ILibraryInformation> GetCandidateLibraries()
-