protected virtual VisitResult Visit(ModuleChange moduleChange, ModuleChangeContext moduleChangeContext) { var typeChangeContext = new TypeChangeContext(moduleChangeContext.AssemblyChanges, moduleChange); return(moduleChange.TypeChanges.All(typeChange => Visit(typeChange, typeChangeContext) == VisitResult.Continue) ? VisitResult.Continue : VisitResult.Stop); }
public virtual void Visit(AssemblyChanges assemblyChanges) { var context = new ModuleChangeContext(assemblyChanges); foreach (var moduleChange in assemblyChanges.ModuleChanges) { if (Visit(moduleChange, context) != VisitResult.Continue) { return; } } }