Sep.Git.Tfs.Commands.Help.GetCommandName C# (CSharp) Method

GetCommandName() private method

private GetCommandName ( GitTfsCommand command ) : string
command GitTfsCommand
return string
        private string GetCommandName(GitTfsCommand command)
        {
            return (from instance in GetCommandInstances()
                    where instance.ConcreteType == command.GetType()
                    select instance.Name).Single();
        }