Header menu logo arc-validate

ParamCollection Type

Validation functions to perform on a collection containing any type implementing the `IParam` interface.

Static members

Static member Description

ParamCollection.ContainsParam(expectedParam) (paramCollection)

Full Usage: ParamCollection.ContainsParam(expectedParam) (paramCollection)

Parameters:
    expectedParam : 'a - the param expected to occur at least once in the given collection
    paramCollection : 'b - The param collection to validate

Validates if the given Param is contained in the given collection át least once.

expectedParam : 'a

the param expected to occur at least once in the given collection

paramCollection : 'b

The param collection to validate

ParamCollection.ContainsParamWithTerm(expectedTerm) (paramCollection)

Full Usage: ParamCollection.ContainsParamWithTerm(expectedTerm) (paramCollection)

Parameters:
    expectedTerm : CvTerm - the term expected to occur in at least 1 Param in the given collection
    paramCollection : 'a - The param collection to validate

Validates if at least one Param with the expected term in the given collection exists.

expectedTerm : CvTerm

the term expected to occur in at least 1 Param in the given collection

paramCollection : 'a

The param collection to validate

ParamCollection.ContainsParamWithValue(expectedValue) (paramCollection)

Full Usage: ParamCollection.ContainsParamWithValue(expectedValue) (paramCollection)

Parameters:
    expectedValue : 'a - the value expected to occur in at least 1 Param in the given collection
    paramCollection : 'b - The param collection to validate

Validates if at least one Param with the expected value in the given collection exists.

expectedValue : 'a

the value expected to occur in at least 1 Param in the given collection

paramCollection : 'b

The param collection to validate

Type something to start searching.