/// <summary> /// Returns a <see cref="T:IEnumerable`1"/> containing the involved /// <see cref="IZincIdent"/> instances of the container. /// </summary> /// <returns> /// A <see cref="T:IEnumerable`1"/> containing the involved\ /// <see cref="IZincIdent"/> instances of the container. /// </returns> public static IEnumerable<IZincIdent> InvolvedIdents(IZincElement element) { Contract.Requires (element != null); return element.UniqueDescendants ().OfType<IZincIdent> (); }
/// <summary> /// Returns a <see cref="T:IEnumerable`1"/> containing the involved /// <see cref="IZincIdent"/> instances of the container. /// </summary> /// <returns> /// A <see cref="T:IEnumerable`1"/> containing the involved\ /// <see cref="IZincIdent"/> instances of the container. /// </returns> public static IEnumerable <IZincIdent> InvolvedIdents(IZincElement element) { Contract.Requires(element != null); return(element.UniqueDescendants().OfType <IZincIdent> ()); }