Atl2NmfSBenchmark/Metamodels/Ant.cs
/// <summary>
/// Adds the given element to the collection
/// </summary>
/// <param name="item">The item to add</param>
Adds the given element to the collection
Adds the given element to the collection
public override void Add(IModelElement item)
            {
                IFilter filterCasted = item.As<IFilter>();
                if ((filterCasted != null))
                {
                    this._parent.Filter.Add(filterCasted);
                }
                IFiltersFile filtersfileCasted = item.As<IFiltersFile>();
                if ((filtersfileCasted != null))
                {
                    this._parent.Filtersfile.Add(filtersfileCasted);
                }
            }
public override void Add ( IModelElement item ) { IFilter filterCasted = item . As < IFilter > ( ) ; if ( ( filterCasted != null ) ) { this . _parent . Filter . Add ( filterCasted ) ; } IFiltersFile filtersfileCasted = item . As < IFiltersFile > ( ) ; if ( ( filtersfileCasted != null ) ) { this . _parent . Filtersfile . Add ( filtersfileCasted ) ; } }
Adds the given element to the collection
Adds the given element to the collection
item
IModelElement
The item to add
The item to add