private static IList FilterElementsFromPatternSchemaForProperties(LinkedElementCollection <PropertySchema> result) { return(ShapeExtensions.FilterElementsFromCompartment <PropertySchema, string>(result, (item => true), item => item.Name)); }
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))); }