@using AutoRest.CSharp.Model @inherits AutoRest.Core.Template @Header("// ") @EmptyLine namespace @Settings.Namespace { using System.Linq; using System.IO; using Microsoft.Rest; @foreach (var usingString in Model.Usings) { @:using @usingString; } @EmptyLine /// /// @(Model.TypeName) operations. /// public 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 /// public @(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 (MethodCs method in Model.Methods) { @:@(Include(new MethodTemplate(), method)) @EmptyLine } } }