Antaris.AspNetCore.Mvc.Widgets.Infrastructure.DefaultWidgetDescriptorCollectionProvider.GetWidgets C# (CSharp) Method

GetWidgets() private method

Gets the available widget descriptors.
private GetWidgets ( ) : WidgetDescriptorCollection
return WidgetDescriptorCollection
        private WidgetDescriptorCollection GetWidgets()
        {
            var descriptors = _descriptorProvider.GetWidgets();

            return new WidgetDescriptorCollection(descriptors.ToArray(), version: 0);
        }
    }
DefaultWidgetDescriptorCollectionProvider