Readable |
[SerializableAttribute] public class ReadableColumnProxy : DocNodeProxy2ndLevel, IReadableColumnProxy, IDocumentLeafNode, INamedObject, IChangedEventSource, ISuspendableByToken, ITunnelingEventSource, IDisposable, ITreeNodeWithParent<IDocumentLeafNode>, ITreeNode<IDocumentLeafNode>, INodeWithParentNode<IDocumentLeafNode>, IProxy, ICloneable
The ReadableColumnProxy type exposes the following members.
Name | Description | |
---|---|---|
ReadableColumnProxy(IDocumentLeafNode) | Initializes a new instance of the ReadableColumnProxy class | |
ReadableColumnProxy(IXmlDeserializationInfo) | For deserialization purposes only. | |
ReadableColumnProxy(ReadableColumnProxy) | Cloning constructor. |
Name | Description | |
---|---|---|
AccumulatedEventData |
Gets the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT) | |
Debug_AbsolutePath |
Gets the absolute path of the node for debugging purposes.
(Inherited from SuspendableDocumentNodeBase) | |
InternalDocumentNode |
Gets the internal document node instance, without changing anything and without trying to resolve the path.
(Inherited from DocNodeProxy) | |
InternalDocumentPath | (Inherited from DocNodeProxy) | |
IsDisposed |
Gets a value indicating whether this instance is disposed.
(Inherited from SuspendableDocumentNodeBase) | |
IsDisposeInProgress |
Gets a value indicating whether for this instance dispose is in progress, or the instance is already disposed.
(Inherited from SuspendableDocumentNodeBase) | |
IsEmpty |
True when both the document and the stored document path are null.
(Inherited from DocNodeProxy) | |
IsSomeoneListeningToChanges |
Gets a value indicating whether someone is listening to changes. For this, either the ParentObject or the Changed event must be set.
(Inherited from SuspendableDocumentNodeBase) | |
IsSuspended |
Gets a value indicating whether this instance is suspended.
(Inherited from SuspendableDocumentLeafNode) | |
Name |
Gets the name of this document node. Null is returned if the name is not set or unknown.
The set accessor will for most nodes throw a InvalidOperationException, since the name can only be set on IProjectItems.
(Inherited from SuspendableDocumentNodeBase) | |
ParentObject |
Gets/sets the parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase) |
Name | Description | |
---|---|---|
AccumulateChangeData | (Inherited from SuspendableDocumentLeafNodeWithEventArgs) | |
AccumulatedChangeData_SetBackAfterResumeAndSuspend |
Sets the change data without further processing. This function is infrastructure and intended to use only in OnResume after the parent has suspended this node again.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT) | |
AccumulatedEventData_Clear |
Clears the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT) | |
AccumulatedEventData_HasZeroOrOneEventArg |
Determines whether there is no or only one single event arg accumulated. If this is the case, the return value is true. If there is one event arg accumulated, it is returned in the argument singleEventArg.
The return value is false if there is more than one event arg accumulated. In this case the singleEventArg is null on return, and the calling function should use AccumulatedEventData to
enumerate all accumulated event args.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT) | |
ChildDisposeMemberT |
Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.
(Inherited from SuspendableDocumentNodeBase) | |
ClearDocNode |
Sets the document node to null, but keeps the doc node path.
(Inherited from DocNodeProxy) | |
ClearWatch |
Removes the event handlers for the watch (watch is the object that is the last object that currently exists along the document path).
(Inherited from DocNodeProxy) | |
Clone | (Overrides DocNodeProxy2ndLevelClone) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SuspendableDocumentNodeBase) | |
Dispose(Boolean) |
Disposing this instance is special - we must not dispose the reference this instance holds.
Instead, we remove all references to the holded document node and also all event handlers-
(Inherited from DocNodeProxy2ndLevel) | |
Document | ||
DocumentObject |
Returns the document node. If the stored doc node is null, it is tried to resolve the stored document path.
If that fails too, null is returned.
(Inherited from DocNodeProxy2ndLevel) | |
DocumentPath | (Inherited from DocNodeProxy2ndLevel) | |
EhParentTunnelingEventHappened |
Is called by the parent when a tunneling event happened into the parent.
(Inherited from SuspendableDocumentNodeBase) | |
EhSelfChanged |
Calls EhSelfChanged with EventArgs.Empty
(Inherited from SuspendableDocumentLeafNodeWithEventArgs) | |
EhSelfChanged(EventArgs) |
Called if some member of this instance itself has changed.
(Inherited from SuspendableDocumentLeafNode) | |
EhSelfTunnelingEventHappened(TunnelingEventArgs) |
Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is additionally distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase) | |
EhSelfTunnelingEventHappened(TunnelingEventArgs, Boolean) |
Is called by this instance if a tunneling event happened into this instance.
The tunneling event triggers the TunneledEvent and is - depending on the provided parameter - also distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase) | |
EhXmlDeserializationFinished | (Inherited from DocNodeProxy) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Finalizes an instance of the SuspendableDocumentNodeBase class.
(Inherited from SuspendableDocumentNodeBase) | |
FromColumn | ||
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetName(Int32) | ||
GetName(Int32, IReadableColumn, AbsoluteDocumentPath) | ||
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HandleLowPriorityChildChangeCases |
Handles the cases when a child changes, but a reaction is neccessary only if the table is not suspended currently.
(Inherited from SuspendableDocumentLeafNode) | |
InternalCheckAbsolutePath | (Inherited from DocNodeProxy) | |
InternalIsValidDocument | (Inherited from DocNodeProxy2ndLevel) | |
InternalSetDocNode |
Sets the document node that is held by this proxy.
(Inherited from DocNodeProxy) | |
IsValidDocument | (Overrides DocNodeProxyIsValidDocument(Object)) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnAboutToBeResumed |
Is called when the suspend level is still 1 (one), but is about to fall to zero, i.e. shortly before the call to OnResume. This function is not called before OnResumeSilently!
(Inherited from SuspendableDocumentLeafNode) | |
OnAfterSetDocNode |
Is called after a document has been set, but before OnChanged() is called. Can be used to set up
additional things, like event handlers, in derived classes.
(Inherited from DocNodeProxy) | |
OnBeforeClearDocNode |
Is called before the doc node of this proxy is set to null. Can be used in derived classes
to remove additional event handlers.
(Inherited from DocNodeProxy) | |
OnChanged |
Fires the change event with the EventArgs provided in the argument.
(Inherited from SuspendableDocumentNodeBase) | |
OnDocNode_Changed |
Called when the doc node has changed. Can be overwritten in derived classes to implement additional functionality.
(Inherited from DocNodeProxy) | |
OnDocNode_TunnelingEvent |
Called when the doc node has changed. Can be overwritten in derived classes to implement additional functionality.
(Inherited from DocNodeProxy2ndLevel) | |
OnResume |
Is called when the suspend level falls down from 1 to zero by a call to Resume or a call to [M:Altaxo.Main.ISuspendToken.Dispose()].
(Inherited from SuspendableDocumentLeafNode) | |
OnResumeSilently |
Is called when the suspend level falls down from 1 to zero by a call to ResumeSilently.
The implementation should delete any accumulated events, should also disarm the suspendTokens of the childs of this object, and should not fire any Changed events nor set the change state of the object to dirty.
(Inherited from SuspendableDocumentLeafNode) | |
OnSuspended |
Called when the suspend level has just gone from 0 to 1, i.e. the object was suspended.
(Inherited from SuspendableDocumentLeafNode) | |
OnTunnelingEvent |
Fires the TunneledEvent event.
(Inherited from SuspendableDocumentNodeBase) | |
ReplacePathParts |
Replaces parts of the part of the document node by another part. If the replacement was successful, the original document node is cleared.
See ReplacePathParts for details of the part replacement.
(Inherited from DocNodeProxy) | |
ResolveDocumentObject |
Resolves the document object.
(Inherited from DocNodeProxy) | |
Resume(ISuspendToken) |
Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null.
If Event data were accumulated during the suspended state, a changed event is triggered for each event data.
(Inherited from SuspendableDocumentNodeBase) | |
Resume(ISuspendToken, EventFiring) |
Resumes changed events, either with taking the accumulated event data into account (see Resume(ISuspendToken)) or discarding the accumulated event data (see ResumeSilently(ISuspendToken),
depending on the provided argument eventFiring.
(Inherited from SuspendableDocumentNodeBase) | |
ResumeCompleteTemporarily |
Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns.
(Inherited from SuspendableDocumentLeafNode) | |
ResumeCompleteTemporarilyGetToken |
Resumes the object completely for the time the returned token is referenced and not disposed.
The return value is a token that had 'absorbed' the suspend count of the object, resulting in the suspend count
of the object dropped to 0 (zero). When the returned token is finally disposed, the suspend count of the object is increased again by the 'absorbed' suspend count.
(Inherited from SuspendableDocumentLeafNode) | |
ResumeSilently |
Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null.
All event data accumulated during the suspended state are discarded, and thus no change event is triggered even if the instance has changed during the suspended state.
(Inherited from SuspendableDocumentNodeBase) | |
SetDisposeInProgress |
Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from SuspendableDocumentNodeBase) | |
SetDocNode |
Sets the document node that is held by this proxy.
(Inherited from DocNodeProxy2ndLevel) | |
SetMemberAndRaiseSelfChangedT(NullableT, NullableT) |
Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SetMemberAndRaiseSelfChangedT(T, T) |
Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SetMemberEnumAndRaiseSelfChangedT |
Sets a member variable (which is an Enum) of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SetWatchOnNode |
Sets the watch on a node that is not our document node, but a node lower in the hierarchy. We watch both the Changed event and the TunneledEvent of this node.
(Inherited from DocNodeProxy) | |
SuspendGetToken |
Suspend will increase the SuspendLevel.
(Inherited from SuspendableDocumentLeafNode) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryGetName |
Test if this item already has a name.
(Inherited from SuspendableDocumentNodeBase) |
Name | Description | |
---|---|---|
Changed | Fired when something in the object has changed, and the object is not suspended. (Inherited from SuspendableDocumentNodeBase) | |
TunneledEvent |
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 SuspendableDocumentNodeBase) |
Name | Description | |
---|---|---|
_accumulatedEventData |
Holds the accumulated change data.
(Inherited from SuspendableDocumentLeafNodeWithSingleAccumulatedDataT) | |
_docNodePath |
The full path to the document node.
(Inherited from DocNodeProxy) | |
_docNodeRef |
The (weak) reference to the document node.
(Inherited from DocNodeProxy) | |
_parent |
The parent object this instance belongs to.
(Inherited from SuspendableDocumentNodeBase) | |
_weakDocNodeChangedHandler |
Holds the (weak) event handler for changed events from the document node.
(Inherited from DocNodeProxy) | |
_weakDocNodeTunneledEventHandler |
Holds the (weak) event handler for tunneling events from the document node.
(Inherited from DocNodeProxy) |
Name | Description | |
---|---|---|
GetPropertyContext |
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) |