From ae7a1ba655d5a5ec7221e3720ec4576750c16108 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 4 Mar 2024 15:14:31 -0500 Subject: [PATCH] - removes unused code Signed-off-by: Vincent Biret --- .../ApiClientConfiguration.cs | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/Kiota.Builder/WorkspaceManagement/ApiClientConfiguration.cs b/src/Kiota.Builder/WorkspaceManagement/ApiClientConfiguration.cs index a298aef947..d47759564f 100644 --- a/src/Kiota.Builder/WorkspaceManagement/ApiClientConfiguration.cs +++ b/src/Kiota.Builder/WorkspaceManagement/ApiClientConfiguration.cs @@ -93,27 +93,6 @@ public ApiClientConfiguration(GenerationConfiguration config) OutputPath = config.OutputPath; } /// - /// Initializes a new instance of the class from an existing to enable migrations. - /// - /// The kiota lock to migrate. - /// The relative output path to output folder from the configuration file. - public ApiClientConfiguration(KiotaLock kiotaLock, string relativeOutputPath) - { - ArgumentNullException.ThrowIfNull(kiotaLock); - ArgumentNullException.ThrowIfNull(relativeOutputPath); - Language = kiotaLock.Language; - ClientNamespaceName = kiotaLock.ClientNamespaceName; - UsesBackingStore = kiotaLock.UsesBackingStore; - ExcludeBackwardCompatible = kiotaLock.ExcludeBackwardCompatible; - IncludeAdditionalData = kiotaLock.IncludeAdditionalData; - StructuredMimeTypes = kiotaLock.StructuredMimeTypes.ToList(); - IncludePatterns = kiotaLock.IncludePatterns; - ExcludePatterns = kiotaLock.ExcludePatterns; - DescriptionLocation = kiotaLock.DescriptionLocation; - DisabledValidationRules = kiotaLock.DisabledValidationRules; - OutputPath = relativeOutputPath; - } - /// /// Updates the passed configuration with the values from the config file. /// /// Generation configuration to update.