You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
explore augmenting the @clientInitializer decorator onto a namespace or interface which could convert it to a SubClient with a public initializer
Codegen will generate this client as above:
client name suffix with Client
add an extra public client constructor which can initialize itself
Then there will be three kind of client:
service Client
sub client : has no public constructor, it only can be created by the parent.
sub client with public constructor: it has public constructor, it can be created by parent, also can be created by itself.
Current .NET SDK support two kinds of Client:
There is a third kind of client: a subclient with public constructor
Rule: When a subclient with public constructor:
example as following:
The text was updated successfully, but these errors were encountered: