src/Misc/EFTools/XmlCore/Base/Context/EditingContext.cs
/// <summary>
///     Returns true if the item collection contains an item of the given type.
///     This only looks in the current layer.
/// </summary>
/// <param name="itemType"></param>
/// <returns></returns>
Returns true if the item collection contains an item of the given type.
This only looks in the current layer.
Returns true if the item collection contains an item of the given type . This only looks in the current layer .
internal override bool Contains(Type itemType)
            {
                if (itemType == null)
                {
                    throw new ArgumentNullException("itemType");
                }
                if (!typeof(ContextItem).IsAssignableFrom(itemType))
                {
                    throw new ArgumentException("Incorrect Argument Type", "itemType");
                }
                return _currentLayer.Items.ContainsKey(itemType);
            }
internal override bool Contains ( Type itemType ) { if ( itemType == null ) { throw new ArgumentNullException ( " " ) ; } if ( ! typeof ( ContextItem ) . IsAssignableFrom ( itemType ) ) { throw new ArgumentException ( " " , " " ) ; } return _currentLayer . Items . ContainsKey ( itemType ) ; }
Returns true if the item collection contains an item of the given type.
Returns true if the item collection contains an item of the given type .
/*
                    throw new ArgumentException(
                        string.Format(CultureInfo.CurrentCulture, 
                        Resources.Error_ArgIncorrectType, 
                        "itemType", typeof(ContextItem).FullName));
                    */
None
itemType
Type
None