Class IndexerOperator
Operator used to test for the presence of a Indexer on an object and optionally apply further tests to the value of that indexer.
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class IndexerOperator : PrefixOperator
Constructors
View SourceIndexerOperator(params object[])
Constructs a IndexerOperator for a particular set of indexer parameters
Declaration
public IndexerOperator(params object[] indexArgs)
Parameters
Type | Name | Description |
---|---|---|
object[] | indexArgs |
Methods
View SourceApplyPrefix(IConstraint)
Returns a IndexerConstraint applied to its argument.
Declaration
public override IConstraint ApplyPrefix(IConstraint constraint)
Parameters
Type | Name | Description |
---|---|---|
IConstraint | constraint |
Returns
Type | Description |
---|---|
IConstraint |