示例#1
0
 public Resolution(ApplicationModel application,
                   LayerModel layer,
                   ModuleModel module,
                   ObjectDescriptor objectDescriptor,
                   CompositeMethodModel method,
                   FieldInfo field)
 {
     this.Application = application;
     this.Layer = layer;
     this.Module = module;
     this.ObjectDescriptor = objectDescriptor;
     this.Method = method;
     this.Field = field;
 }
示例#2
0
        public static ApplicationModel NewModel(ApplicationAssembly application)
        {
            var layerModels = new List<LayerModel>();

            foreach (LayerAssembly layer in application.Layers)
            {
                LayerModel layerModel = LayerModel.NewModel(layer);

                layerModels.Add(layerModel);
            }

            var app = new ApplicationModel(application.Name, application.MetaInfo, layerModels);

            return app;
        }
示例#3
0
 public ApplicationInstance(ApplicationModel applicationModel, List<LayerInstance> layers)
 {
     this.Model = applicationModel;
     this.layerInstances = layers;
 }