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