public AzureMethodTemplateModel(Method source, ServiceClient serviceClient) : base(source, serviceClient) { if (source == null) { throw new ArgumentNullException("source"); } this.ClientRequestIdString = AzureExtensions.GetClientRequestIdString(source); this.RequestIdString = AzureExtensions.GetRequestIdString(source); this._namer = new AzureJavaCodeNamer(); }
public AzureMethodTemplateModel(Method source, ServiceClient serviceClient) : base(source, serviceClient) { if (source == null) { throw new ArgumentNullException("source"); } this.ClientRequestIdString = AzureExtensions.GetClientRequestIdString(source); this.RequestIdString = AzureExtensions.GetRequestIdString(source); _namer = new AzureJavaCodeNamer(serviceClient.Namespace); _returnTypeModel = new AzureResponseModel(ReturnType, this); _responseModels = new Dictionary<HttpStatusCode, ResponseModel>(); Responses.ForEach(r => _responseModels.Add(r.Key, new AzureResponseModel(r.Value, this))); if (this.IsPagingOperation || this.IsPagingNextOperation) { var ext = this.Extensions[AzureExtensions.PageableExtension] as Newtonsoft.Json.Linq.JContainer; pageClassName = (string)ext["className"] ?? "PageImpl"; } }
public AzureJavaCodeGenerator(Settings settings) : base(settings) { _namer = new AzureJavaCodeNamer(); IsSingleFileGenerationSupported = true; }
public AzureJavaCodeGenerator(Settings settings) : base(settings) { _namer = new AzureJavaCodeNamer(); IsSingleFileGenerationSupported = true; pageClasses = new Dictionary<KeyValuePair<string, string>, string>(); }
public AzureJavaCodeGenerator(Settings settings) : base(settings) { _namer = new AzureJavaCodeNamer(); IsSingleFileGenerationSupported = true; }
public AzureJavaCodeGenerator(Settings settings) : base(settings) { _namer = new AzureJavaCodeNamer(); IsSingleFileGenerationSupported = true; pageClasses = new Dictionary <KeyValuePair <string, string>, string>(); }
public AzureModelTemplateModel(CompositeType source, ServiceClient serviceClient) : base(source, serviceClient) { _namer = new AzureJavaCodeNamer(serviceClient.Namespace); }
public AzureModelTemplateModel(CompositeType source, ServiceClient serviceClient) : base(source, serviceClient) { _namer = new AzureJavaCodeNamer(serviceClient.Namespace); }