Click or drag to resize

IAltaxoTableDataSource Interface

Interface that must be implemented by all data sources that can provide data for an Altaxo data table.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IAltaxoTableDataSource : ICopyFrom, 
	ICloneable, IDisposable, ISuspendableByToken, IDocumentLeafNode, INamedObject, 
	IChangedEventSource, ITunnelingEventSource, ITreeNodeWithParent<IDocumentLeafNode>, ITreeNode<IDocumentLeafNode>, 
	INodeWithParentNode<IDocumentLeafNode>, IHasDocumentReferences

The IAltaxoTableDataSource type exposes the following members.

Properties
 NameDescription
Public propertyChildNodes Gets the child nodes.
(Inherited from ITreeNodeT)
Public propertyImportOptions 
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
(Inherited from IDocumentLeafNode)
Public propertyIsDisposeInProgress Gets a value indicating whether this instance is dispose in progress, or the instance is already disposed.
(Inherited from IDocumentLeafNode)
Public propertyIsSuspended Gets a value indicating whether this instance is suspended.
(Inherited from ISuspendableByToken)
Public propertyName Gets the name of this instance. An InvalidOperationException will be thrown if the name is not yet set or can not be retrieved.
(Inherited from INamedObject)
Public propertyParentNode Gets the parent node of this node.
(Inherited from INodeWithParentNodeT)
Public propertyParentObject Retrieves the parent object.
(Inherited from IDocumentLeafNode)
Public propertyProcessDataObject 
Public propertyProcessOptionsObject 
Top
Methods
 NameDescription
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodCopyFrom Try to copy from another object. Should try to copy even if the object to copy from is not of the same type, but a base type. In this case only the base properties should be copied.
(Inherited from ICopyFrom)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodEhParentTunnelingEventHappened
(Inherited from IDocumentLeafNode)
Public methodFillData Fills (or refills) the data, with exception catching and supsension of the destination table. The table script is executed (if specified in the import options). Use UpdateTableFromTableDataSource(IProgressReporter) if the table script should be executed. The data source is represented by this instance, the destination table is provided in the argument destinationTable. Exceptions are catched, and will be written to the Notes of the destination data table.
Public methodFillData_Unchecked Fills (or refills) the data, without exception catching. The table script is not executed! Use FillData(DataTable, IProgressReporter) if the table script should be executed. The data source is represented by this instance, the destination table is provided in the argument destinationTable.
Public methodOnAfterDeserialization Called after deserization of a data source instance, when it is already associated with a data table.
Public methodSetDisposeInProgress Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from IDocumentLeafNode)
Public methodSuspendGetToken Suspends the event handling of the object by getting a suspend token. The event handling of the object is resumed when the suspend token is disposed.
(Inherited from ISuspendableByToken)
Public methodTryGetName Test if this item already has a name.
(Inherited from INamedObject)
Public methodVisitDocumentReferences Visits the document references of this instance. All proxies that this instance contain should be reported by the ReportProxies function. This function is responsible for processing of the proxies, for instance to relocated the path.
(Inherited from IHasDocumentReferences)
Top
Events
 NameDescription
Public eventChangedFired when something in the object has changed.
(Inherited from IChangedEventSource)
Public eventTunneledEvent The event that is fired when the object is disposed. First argument is the sender, second argument is the original source, and third argument is the event arg.
(Inherited from ITunnelingEventSource)
Top
Extension Methods
 NameDescription
Public Extension MethodGetPropertyContext Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched, until a node which implements IPropertyBagOwner is found.
(Defined by PropertyExtensions)
Top
See Also