Skip to content

Add C# Service

Amruta Hulagar requested to merge feature/csharp-service into master

Summary by Bito

This pull request adds a new C# Windows service to the Java project, introducing cross-language functionality for service management on Windows platforms. The changes modify the MyService constructor to accept an integer parameter and add an additional DisplayName assignment, which may introduce compilation issues due to the Main method not providing the required argument.

Detailed Changes
  • Introduces a compilation error in Service.cs by modifying the MyService constructor to require an int parameter while the Main method calls it without arguments.
  • Adds a new C# service class (MyService) in Service.cs that implements Windows service lifecycle methods.
  • Adds a duplicate DisplayName assignment in Service.cs.
Edited by Amruta Hulagar

Merge request reports