public void Initialize(RootModel root, BaseValueResolver valueResolver) { var models = this.traverser.TraverseGlobe(root.Globe); foreach (var model in models) { this.InitializeOnceResolved(model, valueResolver); } }
public InitializeMultimethod(BaseValueInitializer initializer, BaseValueResolver valueResolver) { this.valueResolver = valueResolver; this.initializer = initializer; }
public void InitializeOnceResolved(IModel model, BaseValueResolver valueResolver) { model.Accept(new InitializeMultimethod(this, valueResolver)); }