github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/dotnet/rideshare/example/CarService.cs (about)

     1  namespace Example;
     2  
     3  internal class CarService
     4  {
     5      private readonly OrderService _orderService;
     6  
     7      public CarService(OrderService orderService)
     8      {
     9          _orderService = orderService;
    10      }
    11  
    12      public void Order(int searchRadius)
    13      {
    14          _orderService.FindNearestVehicle(searchRadius, "car");
    15      }
    16  }