@using AutoRest.CSharp.Azure.Model @using AutoRest.Core.Utilities @inherits AutoRest.Core.Template @Header("// ") @EmptyLine namespace @Settings.Namespace { using System.Linq; using Microsoft.Rest; @foreach (var usingString in Model.Usings) { @: using @usingString; } @EmptyLine /// /// @(Model.TypeName) operations. /// internal partial class @(Model.TypeName) : Microsoft.Rest.IServiceOperations<@Model.CodeModel.Name>, I@(Model.TypeName) { /// /// Initializes a new instance of the @(Model.TypeName) class. /// /// /// Reference to the service client. /// /// /// Thrown when a required parameter is null /// internal @(Model.TypeName)(@Model.CodeModel.Name client) { if (client == null) { throw new System.ArgumentNullException("client"); } this.Client = client; } @EmptyLine /// /// Gets a reference to the @Model.CodeModel.Name /// public @Model.CodeModel.Name Client { get; private set; } @EmptyLine @foreach (var method in Model.Methods) { @:@(Include(DependencyInjection.New(), (MethodCsa)method)) @EmptyLine } } }