Esempio n. 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;
 }
Esempio n. 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;
        }
Esempio n. 3
0
 public ApplicationInstance(ApplicationModel applicationModel, List<LayerInstance> layers)
 {
     this.Model = applicationModel;
     this.layerInstances = layers;
 }