Show / Hide Table of Contents

Class NodeOmitter

Implementation of IOmitsNode which makes use of an IReplacesNode to replace a node with its children.

Inheritance
System.Object
NodeOmitter
Implements
IOmitsNode
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Dom
Assembly: ZptSharp.dll
Syntax
public class NodeOmitter : IOmitsNode

Constructors

| Improve this Doc View Source

NodeOmitter(IReplacesNode)

Initializes a new instance of the NodeOmitter class.

Declaration
public NodeOmitter(IReplacesNode replacer)
Parameters
Type Name Description
IReplacesNode replacer

Node replacer.

Methods

| Improve this Doc View Source

Omit(INode)

Omits the specified node node from its DOM. The node's parent and children will still be a part of the DOM, but the node node itself will be removed.

Declaration
public void Omit(INode node)
Parameters
Type Name Description
INode node

The node node to omit.

Implements

IOmitsNode
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX