DefaultViewComponentDescriptorCollectionProvider Class

Summary

A default implementation of [Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider](Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorCollectionProvider.yml)

Syntax

public class DefaultViewComponentDescriptorCollectionProvider : IViewComponentDescriptorCollectionProvider

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider

Constructors

DefaultViewComponentDescriptorCollectionProvider(Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorProvider)

Creates a new instance of [Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider](Microsoft.AspNet.Mvc.ViewComponents.DefaultViewComponentDescriptorCollectionProvider.yml).

Arguments:
public DefaultViewComponentDescriptorCollectionProvider(IViewComponentDescriptorProvider descriptorProvider)

Properties

ViewComponents()
Return type:Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptorCollection
public ViewComponentDescriptorCollection ViewComponents { get; }