Atl2NmfSBenchmark/Metamodels/Ant.cs
/// <summary>
/// Removes the given item from the collection
/// </summary>
/// <returns>True, if the item was removed, otherwise False</returns>
/// <param name="item">The item that should be removed</param>
Removes the given item from the collection
Removes the given item from the collection
public override bool Remove(IModelElement item)
            {
                ITask taskItem = item.As<ITask>();
                if (((taskItem != null) 
                            && this._parent.Tasks.Remove(taskItem)))
                {
                    return true;
                }
                return false;
            }
public override bool Remove ( IModelElement item ) { ITask taskItem = item . As < ITask > ( ) ; if ( ( ( taskItem != null ) && this . _parent . Tasks . Remove ( taskItem ) ) ) { return true ; } return false ; }
Removes the given item from the collection
Removes the given item from the collection
True, if the item was removed, otherwise False
True if the item was removed otherwise False
item
IModelElement
The item that should be removed
The item that should be removed