Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

Methods_T_AMLEngineExtensions_ActionExtensions

AutomationML edited this page Feb 22, 2017 · 1 revision

ActionExtensions Methods

The ActionExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member FirstOrDefaultFromMany(T) Enumerate and call predicate on each Object in the Tree (this method performs a recursive descent ) until the predicate is true, then it returns with the found element .
Public methodStatic member ForEachCAEXBasicObject(T)(IEnumerable(T), Action(T)) Enumerate and call action on each CAEXBasicObject in the source collection
Public methodStatic member ForEachCAEXBasicObject(T)(IEnumerable(T), Action(T), Predicate(T)) Enumerate and call action on each CAEXBasicObject in the source collection for which a given predicate is true
Public methodStatic member ForEachExternalInterface perform an action on each External Interface in the systemunitClass
Public methodStatic member ForEachInstanceHierarchy perform an action on each InstanceHierarchy in the CaexFile
Public methodStatic member ForEachInterfaceClass perform an action on each child-interfaceClass in the interfaceClass
Public methodStatic member ForEachInterfaceClassLib perform an action on each InterfaceClassLib in the CaexFile
Public methodStatic member ForEachInternalElement perform an action on each InternalElement Child in the systemunitClass
Public methodStatic member ForEachRequiredRoleClass perform an action on each RoleRequirement in the internalElement
Public methodStatic member ForEachRoleClass perform an action on each RoleClass-Child in the RoleClass
Public methodStatic member ForEachRoleClassLib perform an action on each RoleClassLib in the CaexFile
Public methodStatic member ForEachSupportedRoleClass perform an action on each supported RoleClass in the systemUnitClass
Public methodStatic member ForEachSystemUnitClass perform an action on each SystemUnitClass - Child in the systemUnitClass
Public methodStatic member ForEachSystemUnitClassLib perform an action on each SystemUnitClassLib in the CaexFile
  Back to Top

See Also

Reference

ActionExtensions Class
AMLEngineExtensions Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally