/// <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> ();
 }
Beispiel #2
0
 /// <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> ());
 }