Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 766 Bytes
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.DependencyInjection;
using NuGetTypeSearch.Bindings;
using NuGetTypeSearch.Bindings.Catalog.Bindings;
using NuGetTypeSearch.Bindings.Catalog.Configuration;
using NuGetTypeSearch.Bindings.Search.Configuration;
[assembly: WebJobsStartup(typeof(Startup))]
namespace NuGetTypeSearch.Bindings
{
public class Startup : IWebJobsStartup
{
public void Configure(IWebJobsBuilder builder)
{
builder.Services.AddSingleton<NuGetCatalogTriggerAttributeBindingProvider>();
builder.AddExtension<NuGetCatalogTriggerExtensionConfigProvider>();
builder.AddExtension<AzureSearchExtensionConfigProvider>();
}
}
}
You can’t perform that action at this time.