Beispiel #1
0
        public void Initialize(RootModel root, BaseValueResolver valueResolver)
        {
            var models = this.traverser.TraverseGlobe(root.Globe);

            foreach (var model in models)
            {
                this.InitializeOnceResolved(model, valueResolver);
            }
        }
Beispiel #2
0
 public InitializeMultimethod(BaseValueInitializer initializer, BaseValueResolver valueResolver)
 {
     this.valueResolver = valueResolver;
     this.initializer   = initializer;
 }
Beispiel #3
0
 public void InitializeOnceResolved(IModel model, BaseValueResolver valueResolver)
 {
     model.Accept(new InitializeMultimethod(this, valueResolver));
 }