Is .NET dependency injection container implemented by topological sort?

Viewed 38

I'm studying Kahn's Algorithm now and figured out that the usage of this alg is solving the topological sort.

I found a document said that the topological sort is always used for dependency, so there's an idea appearing in my mind.

I'm curious about:

  1. Is the sort of .NET dependency injection container follow the topological sort?

  2. Is it implemented by Kahn's Algorithm?

0 Answers
Related