### Saxon.Api

- BinaryResource
- CatalogCollection
- DirectoryCollection
- DocumentBuilder
- DomDestination
- DynamicContext
- DynamicError
- EmptyEnumerator<T>
- ErrorReporter
- ErrorReporterToStaticError
- ErrorReporterWrapper
- ExtensionFunction
- ExtensionFunctionCall
- ExtensionFunctionDefinition
- Feature<T>
- FeatureKeys
- HostLanguage
- ICollectionFinder
- IErrorReporter
- IInvalidityHandler
- IMessageListener
- IMessageListener2
- InvalidityHandlerWrapper
- IPredicate<in XdmItem>
- IQueryResolver
- IResource
- IResourceCollection
- IResourceFactory
- IResultDocumentHandler
- IXmlLocation
- JarCollection
- NamespaceConstant
- NullDestination
- Predicate<T>
- Predicates
- Processor
- QName
- RawDestination
- RecoveryPolicy
- Resource
- ResourceCollection
- SchemaManager
- SchemaResolver
- SchemaValidationMode
- SchemaValidator
- Serializer
- StandardCollectionFinder
- StandardLogger
- StaticContext
- StaticError
- Step<TInput, TResult>
- Steps
- TextWriterDestination
- TreeModel
- URIQueryParameters
- ValidationFailure
- WhitespacePolicy
- XdmAnyArrayType
- XdmAnyFunctionType
- XdmAnyItemType
- XdmAnyMapType
- XdmAnyNodeType
- XdmArray
- XdmAtomicType
- XdmAtomicValue
- XdmAxis
- XdmDestination
  - - TreeProtector
- XdmEmptySequence
- XdmExternalObjectValue
- XdmFunctionItem
- XdmItem
- XdmItemType
- XdmMap
- XdmNode
- XdmNodeKind
- XdmSequenceType
- XdmValue
- XmlDestination
- XmlProcessingError
- XmlResource
- XPathCompiler
- XPathExecutable
- XPathSelector
- XQueryCompiler
- XQueryEvaluator
- XQueryExecutable
- Xslt30Transformer
- XsltCompiler
- XsltExecutable
  - - ParameterDetails
- XsltPackage
- XsltTransformer

### Saxon.Api

# Class XsltExecutable.ParameterDetails

Enclosing class
  XsltExecutable

public class XsltExecutable.ParameterDetails

Information about a global parameter to a stylesheet.

### Constructor Summary
ParameterDetails (XdmSequenceType type, bool isRequired) Create parameter details.

### Property Summary
bool | IsRequired Ask whether the parameter is required (mandatory) or optional

### Method Summary
char | GetDeclaredCardinality() Gets the declared cardinality of the parameter.
XdmItemType | GetDeclaredItemType() Gets the declared item type of the parameter.
XdmSequenceType | GetUnderlyingDeclaredType() Gets the underlying declared type of the parameter.

## Constructor Detail

### ParameterDetails

public ParameterDetails(XdmSequenceType type,
bool isRequired)

Create parameter details.

Parameters:

`type` - The declared type of the parameter.
`isRequired` - Indicates whether the parameter is required or optional.

## Property Detail

### IsRequired

public bool IsRequired {get; set; }

Ask whether the parameter is required (mandatory) or optional

Returns:

`true` if the parameter is mandatory (`required="yes"`), false if it is optional.

## Method Detail

### GetDeclaredCardinality

public char GetDeclaredCardinality()

Gets the declared cardinality of the parameter.

Returns:

The occurrence indicator from the type appearing in the `as` attribute of the `xsl:param` element

### GetDeclaredItemType

public XdmItemType GetDeclaredItemType()

Gets the declared item type of the parameter.

Returns:

The type defined in the `as` attribute of the `xsl:param` element, without its occurrence indicator

### GetUnderlyingDeclaredType

public XdmSequenceType GetUnderlyingDeclaredType()

Gets the underlying declared type of the parameter.

Returns:

The underlying declared type.