// Copyright (c) 2026 Duplicati Inc. All rights reserved. using Duplicati.Library.Interface; using Duplicati.Library.Utility; namespace Duplicati.Proprietary.LoaderHelper; /// /// Shared list of statically linked backend modules /// public static class BackendModules { /// /// The list of all built-in backend modules /// public static IReadOnlyList LicensedBackendModules => LicensedBackendModulesLazy.Value; /// /// Calculate list once and cache it /// private static Lazy> LicensedBackendModulesLazy = new(() => new IBackend?[] { } .WhereNotNull() .ToList() ); }