src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/Diagram/EmphasizedShapes.cs
/// <summary>
///     Adds the specified DiagramItems to the current emphasis list.
/// </summary>
/// <remarks>
///     If a DiagramItem in the collection is already in the emphasis list, the DiagramItem is ignored.
/// </remarks>
/// <param name="diagramItems">The collection of DiagramItems to add.</param>
Adds the specified DiagramItems to the current emphasis list.
Adds the specified DiagramItems to the current emphasis list .
private void Add(DiagramItemCollection diagramItems)
        {
            foreach (var diagramItem in diagramItems)
            {
                if (!Contains(diagramItem))
                {
                    base.Add(diagramItem);
                }
            }
        }
private void Add ( DiagramItemCollection diagramItems ) { foreach ( var diagramItem in diagramItems ) { if ( ! Contains ( diagramItem ) ) { base . Add ( diagramItem ) ; } } }
Adds the specified DiagramItems to the current emphasis list.
Adds the specified DiagramItems to the current emphasis list .
// only add shapes that are not currently in the emphasis list.
diagramItems
DiagramItemCollection
The collection of DiagramItems to add.
The collection of DiagramItems to add .
remarks
If a DiagramItem in the collection is already in the emphasis list, the DiagramItem is ignored.
If a DiagramItem in the collection is already in the emphasis list the DiagramItem is ignored .