Skip to content

ITestHostManager.AddTestSessionLifetimeHandle should be Add...Handler #7063

@smdn

Description

@smdn

I suppose this is just a typo, but shouldn't the name of ITestHostManager.AddTestSessionLifetimeHandle be AddTestSessionLifetimeHandle*r*?

Compared to methods like the following, the name AddTestSessionLifetimeHandle is inconsistent.

  • ITestHostManager.AddDataConsumer for IDataConsumer
  • ITestHostControllersManager.AddProcessLifetimeHandler for ITestHostProcessLifetimeHandler
  • ICommandLineManager.AddProvider for ICommandLineOptionsProvider

It's merely a naming issue, so I am not currently facing any specific problems.
However, I am reporting this issue because it may cause confusion in reflection calls, automatic code generation, documentation, and other contexts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBreaking ‼️

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions