| File: Commands\Hidden\Remove\RemoveReferenceCommandDefinition.cs | Web Access |
| Project: src\sdk\src\Cli\Microsoft.DotNet.Cli.Definitions\Microsoft.DotNet.Cli.Definitions.csproj (Microsoft.DotNet.Cli.Definitions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.CommandLine; using Microsoft.DotNet.Cli.Commands.Reference.Remove; namespace Microsoft.DotNet.Cli.Commands.Hidden.Remove.Reference; internal sealed class RemoveReferenceCommandDefinition() : ReferenceRemoveCommandDefinitionBase(Name) { public new const string Name = "reference"; public RemoveCommandDefinition Parent => (RemoveCommandDefinition)Parents.Single(); public override Option<string?>? GetFileOption() => null; public override Option<string?>? GetProjectOption() => null; public override Argument<string>? GetProjectOrFileArgument() => Parent.ProjectOrFileArgument; }