A partial method is a void-returning C# declaration whose implementation can live in another part of the same partial type. If no implementation is supplied, the compiler removes it. section 11.4.4
This makes partial methods useful as lightweight, optional event handlers. Generated clients can expose hooks that run immediately before a request is sent or after a response is received, while custom behavior stays outside generated code. section 11.4.4
Customizing a generated FruitClient
NSwag marks FruitClient as partial and supplies partial methods as customization points. You can implement a hook in a separate partial class file; leaving it unimplemented adds no runtime event-handler overhead. section 11.4.4
