<#@ template language="C#" inherits="BaseGenerator" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.Linq" #> <#@ import namespace="System.Text" #> <#@ import namespace="System.Collections.Generic" #> <# AddLicenseHeader(); #> using Amazon.Runtime.Internal; namespace <#=this.Config.Namespace#>.Internal { /// /// Service metadata for Amazon <#=this.Config.ClassName#> service /// public partial class Amazon<#=this.Config.ClassName#>Metadata : IServiceMetadata { /// /// Gets the value of the Service Id. /// public string ServiceId { get { return "<#=this.Config.ServiceId#>"; } } /// /// Gets the dictionary that gives mapping of renamed operations /// public System.Collections.Generic.IDictionary OperationNameMapping { get { return new System.Collections.Generic.Dictionary(<#=this.Config.ServiceModel.OperationsNameMapping.Count#>) { <# foreach(var entry in this.Config.ServiceModel.OperationsNameMapping) { #> {"<#=entry.Key#>", "<#=entry.Value#>"}, <# } #> }; } } } }