extension/WebJobs.Extensions.RabbitMQ.Samples/SamplesTypeLocator.cs (12 lines of code) (raw):

// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Microsoft.Azure.WebJobs.Extensions.RabbitMQ.Samples; public class SamplesTypeLocator(params Type[] types) : ITypeLocator { private readonly Type[] types = types; public IReadOnlyList<Type> GetTypes() { return this.types; } }