A collection of calculation instances.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Framework.DocumentModelDocumentNodeListBaseCalculation
Spotfire.Dxp.Application.CalculationsCalculationCollection
Namespace: Spotfire.Dxp.Application.Calculations
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 69.0.21424.2902 (69.0.21424.2902)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(2, 0)] public sealed class CalculationCollection : DocumentNodeListBase<Calculation>, IServiceProvider
The CalculationCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Count |
Gets the number of elements contained in this instance.
(Inherited from DocumentNodeListBaseT.) | |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| Item |
Gets the element at the specified index.
(Inherited from DocumentNodeListBaseT.) | |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| AddNew(TypeIdentifier) |
Adds a new instance of the calculation identified by typeId to this collection.
| |
| AddNewTCalculation |
Adds a new instance of the given calculation type to this collection.
| |
| Contains(String) |
Determine if the collection contains the Calculation instance identified by calculationName | |
| Contains(T) |
Determines whether the specified value is in this collection.
(Inherited from DocumentNodeListBaseT.) | |
| FindCalculations(Type) |
Finds all Calculations of type calculationType | |
| FindCalculations(TypeIdentifier) |
Finds all Calculations with TypeIdentifiertypeId.
| |
| FindCalculationsTCalculation |
Finds all calculations of type TCalculation | |
| ForEachNodeInSubTreeTNode |
Applies the specified action to all nodes of the specified type in the subtree spanned
from this node, including this node.
(Inherited from DocumentNode.) | |
| GetEnumerator |
Returns an enumerator that iterates through this collection.
(Inherited from DocumentNodeListBaseT.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Searches for the specified value and returns the zero-based index
of the first occurrence within this collection.
(Inherited from DocumentNodeListBaseT.) | |
| Remove |
Completely removes the execution and all its results such as tables or columns.
| |
| ToArray | Copies the elements of the collection to a new array.
(Inherited from DocumentNodeListBaseT.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetCalculation |
Tries to get a Calculation instance by name.
|
Extension Methods
| Name | Description | |
|---|---|---|
| GetServiceTService |
Convenience generic extension method that calls GetService(Type) and casts the result.
(Defined by Extensions.) |
Explicit Interface Implementations
Version Information
Supported in: 14.7, 14.6, 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also