using AWSPowerShellGenerator.Analysis; using AWSPowerShellGenerator.ServiceConfig; using AWSPowerShellGenerator.Writers; namespace AWSPowerShellGenerator.Generators.ParamEmitters { internal interface IParamEmitter { /// /// Called to write the custom parameters in place of the specified parameter. The implementor, if /// it chooses to write positional parameter data, should return the index of the last position /// used. /// /// /// /// /// /// /// Make sure we stick to the PS recommendation of no more than 5 positional parameters, not /// including any credentials or region parameters we get from the base cmdlet class. /// void WriteParams(IndentedTextWriter writer, OperationAnalyzer analyzer, SimplePropertyInfo spi, Param paramCustomization); /// /// Populate the context member with values the user has assigned to the custom parameter(s) /// /// /// /// /// void WriteContextMembers(IndentedTextWriter writer, string contextVar, SimplePropertyInfo spi, Param paramCustomization); } }