public static List <ModelNode> GetLayers(this ModelApplicationBase application)
 {
     return((List <ModelNode>)application.GetPropertyValue("Layers"));
 }
Example #2
0
 public static ModelApplicationBase GetLayer(this ModelApplicationBase modelApplicationBase, int index)
 {
     return((ModelApplicationBase)((List <ModelNode>)modelApplicationBase.GetPropertyValue("Layers"))[index]);
 }
Example #3
0
 public static List <ModelNodeWrapper> GetLayers(this ModelApplicationBase modelApplicationBase)
 {
     return(((List <ModelNode>)modelApplicationBase.GetPropertyValue("Layers")).Select(node => new ModelNodeWrapper(node)).ToList());
 }
Example #4
0
 public static List <ModelNode> GetLayers(this ModelApplicationBase modelApplicationBase) => ((List <ModelNode>)modelApplicationBase.GetPropertyValue("Layers")).ToList();