Allows to build complex ElementSelectors by combining simpler blocks.
|
Build
()Builds a conditional ElementSelector. |
|
|
ElseUse
(ElementSelector)Assigns a default ElementSelector that is used if all Whens have returned false. |
|
|
When
(Predicate<System.Xml.XmlElement>)Sets up a conditional ElementSelector. |
|
|
WhenElementIsNamed
(string)Sets up a conditional ElementSelector. |
|
|
WhenElementIsNamed
(System.Xml.XmlQualifiedName)Sets up a conditional ElementSelector. |
static
|
Singleton<T>
(this T)An enumerable containing a single element. |
Builds a conditional ElementSelector.Syntax
public ElementSelector Build ()Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Assigns a default ElementSelector that is used if all Whens have returned false.Syntax
public ElementSelectors.IConditionalSelectorBuilder ElseUse (ElementSelector es)Parameters
- es
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Sets up a conditional ElementSelector.Syntax
public ElementSelectors.IConditionalSelectorBuilderThen When (Predicate<System.Xml.XmlElement> predicate)Parameters
- predicate
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Sets up a conditional ElementSelector.Syntax
public ElementSelectors.IConditionalSelectorBuilderThen WhenElementIsNamed (string expectedName)Parameters
- expectedName
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Sets up a conditional ElementSelector.Syntax
public ElementSelectors.IConditionalSelectorBuilderThen WhenElementIsNamed (System.Xml.XmlQualifiedName expectedName)Parameters
- expectedName
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240