CalculationCollection Class

Spotfire 14.5 API Reference
A collection of calculation instances.
Inheritance Hierarchy

System.Object
  Node
    Spotfire.Dxp.Framework.DocumentModel.DocumentNode
      Spotfire.Dxp.Framework.DocumentModel.DocumentNodeListBase<Calculation>
        Spotfire.Dxp.Application.Calculations.CalculationCollection

Namespace:  Spotfire.Dxp.Application.Calculations
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class CalculationCollection : DocumentNodeListBase<Calculation>, 
	IServiceProvider

The CalculationCollection type exposes the following members.

Properties

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCount
Gets the number of elements contained in this instance.
(Inherited from DocumentNodeListBase<T>.)
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyItem
Gets the element at the specified index.
(Inherited from DocumentNodeListBase<T>.)
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodAddNew(TypeIdentifier)
Adds a new instance of the calculation identified by typeId to this collection.
Public methodAddNew<TCalculation>()
Adds a new instance of the given calculation type to this collection.
Public methodContains(String)
Determine if the collection contains the Calculation instance identified by calculationName
Public methodContains(T)
Determines whether the specified value is in this collection.
(Inherited from DocumentNodeListBase<T>.)
Public methodFindCalculations(Type)
Finds all Calculations of type calculationType
Public methodFindCalculations(TypeIdentifier)
Finds all Calculations with TypeIdentifiertypeId.
Public methodFindCalculations<TCalculation>()
Finds all calculations of type TCalculation
Public methodForEachNodeInSubTree<TNode>
Applies the specified action to all nodes of the specified type in the subtree spanned from this node, including this node.
(Inherited from DocumentNode.)
Public methodGetEnumerator
Returns an enumerator that iterates through this collection.
(Inherited from DocumentNodeListBase<T>.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified value and returns the zero-based index of the first occurrence within this collection.
(Inherited from DocumentNodeListBase<T>.)
Public methodRemove
Completely removes the execution and all its results such as tables or columns.
Public methodToArray
Copies the elements of the collection to a new array.
(Inherited from DocumentNodeListBase<T>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetCalculation
Tries to get a Calculation instance by name.
Top
Extension Methods

  NameDescription
Public Extension MethodGetService<TService>
Convenience generic extension method that calls GetService(Type) and casts the result.
(Defined by Extensions.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerable.GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from DocumentNodeListBase<T>.)
Explicit interface implementationPrivate methodINodeContext.GetAncestor<T> (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContext.GetService<T> (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContext.IsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.BeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 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

Reference