Skip to content

Commit

Permalink
- removes unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <[email protected]>
  • Loading branch information
baywet committed Mar 4, 2024
1 parent f5a4f89 commit ae7a1ba
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/Kiota.Builder/WorkspaceManagement/ApiClientConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,27 +93,6 @@ public ApiClientConfiguration(GenerationConfiguration config)
OutputPath = config.OutputPath;
}
/// <summary>
/// Initializes a new instance of the <see cref="ApiClientConfiguration"/> class from an existing <see cref="KiotaLock"/> to enable migrations.
/// </summary>
/// <param name="kiotaLock">The kiota lock to migrate.</param>
/// <param name="relativeOutputPath">The relative output path to output folder from the configuration file.</param>
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;
}
/// <summary>
/// Updates the passed configuration with the values from the config file.
/// </summary>
/// <param name="config">Generation configuration to update.</param>
Expand Down

0 comments on commit ae7a1ba

Please sign in to comment.