Esempio n. 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);
            }
        }
Esempio n. 2
0
 public InitializeMultimethod(BaseValueInitializer initializer, BaseValueResolver valueResolver)
 {
     this.valueResolver = valueResolver;
     this.initializer   = initializer;
 }
Esempio n. 3
0
 public void InitializeOnceResolved(IModel model, BaseValueResolver valueResolver)
 {
     model.Accept(new InitializeMultimethod(this, valueResolver));
 }