Thinktecture.Tools.Web.Services.CodeGeneration.PascalCaseConverter.UpdateTypeReferences C# (CSharp) Method

UpdateTypeReferences() private method

Itterates through the generated code and reflects the type name changes.
private UpdateTypeReferences ( string oldName, string newName ) : void
oldName string
newName string
return void
        private void UpdateTypeReferences(string oldName, string newName)
        {
            UpdateTypeReferencesInternal(code.DataContracts, oldName, newName);
            UpdateTypeReferencesInternal(code.MessageContracts, oldName, newName);
            UpdateTypeReferencesInternal(code.ServiceContracts, oldName, newName);
            UpdateTypeReferencesInternal(code.ServiceTypes, oldName, newName);
            UpdateTypeReferencesInternal(code.ClientTypes, oldName, newName);
            UpdateTypeReferencesInternal(code.UnfilteredTypes, oldName, newName);
        }