示例#1
0
 /// <summary>
 /// Normalizes client model by updating names and types to be language specific.
 /// </summary>
 /// <param name="serviceClient"></param>
 public override void NormalizeClientModel(ServiceClient serviceClient)
 {
     Settings.AddCredentials = true;
     AzureCodeGenerator.UpdateHeadMethods(serviceClient);
     AzureCodeGenerator.ParseODataExtension(serviceClient);
     AzureCodeGenerator.AddPageableMethod(serviceClient);
     AzureCodeGenerator.AddLongRunningOperations(serviceClient);
     AzureCodeGenerator.AddAzureProperties(serviceClient);
     AzureCodeGenerator.SetDefaultResponses(serviceClient);
     base.NormalizeClientModel(serviceClient);
 }
 /// <summary>
 /// Normalizes client model by updating names and types to be language specific.
 /// </summary>
 /// <param name="serviceClient"></param>
 public override void NormalizeClientModel(ServiceClient serviceClient)
 {
     //please do not change the following sequence as it may have undesirable results.
     Settings.AddCredentials = true;
     AzureCodeGenerator.UpdateHeadMethods(serviceClient);
     AzureCodeGenerator.ParseODataExtension(serviceClient);
     AzureCodeGenerator.AddPageableMethod(serviceClient);
     AzureCodeGenerator.AddAzureProperties(serviceClient);
     AzureCodeGenerator.SetDefaultResponses(serviceClient);
     base.NormalizeClientModel(serviceClient);
     AzureCodeGenerator.AddLongRunningOperations(serviceClient);
     NormalizeApiVersion(serviceClient);
     NormalizeCredentials(serviceClient);
 }