autorest icon indicating copy to clipboard operation
autorest copied to clipboard

CSharp: add optional partial method to client Initialize()

Open jhancock93 opened this issue 10 years ago • 1 comments

There may be some cases where a generated proxy needs to be modified with custom SerializationSettings or custom JsonConverters that cannot be handled automatically. It would be useful in these cases to declare and invoke a partial method from the client's Initialize() method so that a consumer can optionally inject some code into the client initialization process without having to modify the generated code.

jhancock93 avatar Mar 03 '16 19:03 jhancock93

:+1:

bitsforthought avatar Mar 05 '16 22:03 bitsforthought