sdk/Sdk/Abstractions/SdkFunctionMetadata.cs (18 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.Collections.Generic; using System.Collections.ObjectModel; using System.Dynamic; namespace Microsoft.Azure.Functions.Worker.Sdk { // Copy of FunctionMetadata, but using internal type to simplify dependencies. internal class SdkFunctionMetadata { public string? Name { get; set; } public string? ScriptFile { get; set; } public string? FunctionDirectory { get; set; } public string? EntryPoint { get; set; } public string? Language { get; set; } public IDictionary<string, object> Properties { get; set; } = new Dictionary<string, object>(); public Collection<ExpandoObject> Bindings { get; set; } = new Collection<ExpandoObject>(); public SdkRetryOptions? Retry { get; set; } } }