Thinktecture.Tools.Web.Services.CodeGeneration.CodeRefactoringAgent.RefactorMethodParameterReferences C# (CSharp) Method

RefactorMethodParameterReferences() private method

private RefactorMethodParameterReferences ( CodeParameterDeclarationExpressionCollection parameters, string oldName, string newName ) : void
parameters System.CodeDom.CodeParameterDeclarationExpressionCollection
oldName string
newName string
return void
        private void RefactorMethodParameterReferences(CodeParameterDeclarationExpressionCollection parameters, string oldName, string newName)
        {
            foreach (CodeParameterDeclarationExpression parameter in parameters)
            {
                RefactorCodeTypeReference(parameter.Type, oldName, newName);
                RefactorCodeTypeReferencesInAttributes(parameter.CustomAttributes, oldName, newName);
            }
        }