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

RefactorCodeTypeReferencesInAttributeArguments() private method

private RefactorCodeTypeReferencesInAttributeArguments ( CodeAttributeArgumentCollection arguments, string oldName, string newName ) : void
arguments System.CodeDom.CodeAttributeArgumentCollection
oldName string
newName string
return void
        private void RefactorCodeTypeReferencesInAttributeArguments(CodeAttributeArgumentCollection arguments, string oldName, string newName)
        {
            foreach (CodeAttributeArgument argument in arguments)
            {
                CodeTypeReference typeRef = GetCodeTypeReferenceInCodeExpression(argument.Value);
                if (typeRef != null)
                {
                    RefactorCodeTypeReference(typeRef, oldName, newName);
                }
            }
        }