예제 #1
0
 private static IList FilterElementsFromPatternSchemaForProperties(LinkedElementCollection <PropertySchema> result)
 {
     return(ShapeExtensions.FilterElementsFromCompartment <PropertySchema, string>(result,
                                                                                   (item => true), item => item.Name));
 }
예제 #2
0
 private static IList FilterElementsFromPatternSchemaForAutomation(LinkedElementCollection <AutomationSettingsSchema> result)
 {
     return(ShapeExtensions.FilterElementsFromCompartment <AutomationSettingsSchema, string>(result,
                                                                                             item => (item.Classification == Runtime.AutomationSettingsClassification.General),
                                                                                             item => string.Concat(item.AutomationType, item.Name)));
 }