Beispiel #1
0
        public bool TryToGetEndEventThrower(
            string name,
            out INamedProcessElement <IEventThrower> output
            )
        {
            output = GetEndEventThrowers()
                     .FirstOrDefault(thrower => thrower.Name == name);

            return(output != null);
        }
Beispiel #2
0
        public bool TryToGet(
            string name,
            out INamedProcessElement <IElement> output
            )
        {
            output = Elements
                     .OfType <INamedProcessElement <IElement> >()
                     .FirstOrDefault(thrower => thrower.Name == name);

            return(output != null);
        }