Closed RenanCarlosPereira closed 4 days ago
man, you merged that with conflicts from the other PR.
will open another one 😥
where is the IDemo interface?
you completed this PR with merge conflicts, we should not do it... before merging a PR you need to verify if the build is passing.
fixing it now, give me a sec.
the merge conflicts were formatting issues. i reviewed each file and saw no reason not to resolve the conflict. what wasnt included and is causing the build issue is the missing IDemo interface. that was not included in this PR.
it was there, maybe when you resolved the conflicts it got removed. 😄 created another PR there #35
i see it under program.cs. shouldn't it be in its own file?
Overview
This PR introduces a new
IDemo
interface and updates theProgram
class to automatically discover and execute all classes that implement this interface. Additionally, CodeMaid and ReSharper have been used in demo project to format the codebase, ensuring consistency and adherence to coding standards.Changes Introduced
IDemo Interface
IDemo
interface with aRun
method that takes an optionalCancellationToken
.Program Class Update
Program
class to use reflection for discovering and executing all implementations of theIDemo
interface.Code Formatting
Testing
Program
class.IDemo
, handling any exceptions gracefully and logging errors to the console.How to Test
Run
methods of all classes implementingIDemo
.