Пример #1
0
 /// <summary>
 /// Determines whether this instance contains a child structure of the given block type.
 /// </summary>
 /// <param name="blockType">Type of the block.</param>
 /// <returns>
 ///   <c>true</c> if [contains child structure] [the specified block type]; otherwise, <c>false</c>.
 /// </returns>
 public bool ContainsChildStructure(BlockType blockType)
 {
     return
         (ChildStructures.Any(childStructure => childStructure.BlockType == blockType));
 }