JetBrains.Platform.ReSharper.Util Linear anchoring constants. Left or top, anchored outside the area. Left or top, anchored inside the area. Center or middle, anchored inside the area. Preferrably, in the center. Right or bottom, anchored inside the area. Right or bottom, anchored outside the area. Describes the anchoring in two dimensions. Backup for . Backup for . Backup for . Backup for . Backup for . The raw value combining both vertical and horizontal anchoring. Initializes from a raw value. Initializes the instance. Checks whether the given is one of the Far— anchorings, namely, or . Checks whether the given is one of the Near— anchorings, namely, or . Creates an array consisting of just one item. Returns a that represents the current . A that represents the current . 2 Gets the list of anchoring to place the entity aside the anchor, preferrably, left, right, then bottom and top. Gets the list of side-anchoring dispositions in descending order of preferrability. The preferred side is bottom, then top, then right and left. Gets the list of side-anchoring dispositions in descending order of preferrability. The preferred side is right, then left. That's all. Gets the list of side-anchoring dispositions in descending order of preferrability. The preferred side is top, sides top to bottom, then bottom. Gets the list of side-anchoring dispositions in descending order of preferrability. The preferred side is top, then bottom, then left and right. Gets or sets the hotizontal component of the anchoring. Gets whether the anchoring is inside the rect against both dimensions. Gets or sets the hotizontal component of the anchoring. This functionality should be a part of the .NET framework, but it isn't for unknown reasons. Helps with looking up the referenced assemblies. The list of base directories to be probed for the assembly being resolved. The list of appdomains we've been installed onto. Creates the instance. Call to attach, don't forget to call or to detach on shutdown. The list of base directories to be probed for the assembly being resolved. Creates a resolver over the single probing directory that is the home directory of the . Starts listening for failed assembly loads on the given appdomain. Stops listening for failed assembly loads on the given appdomain. It is not an error to uninstall from a non-installed appdomain. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Adapts a generic collection so that it can be handled as a non-generic collection. Type of the generic collection. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in array at which copying begins. array is null. index is less than zero. array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. The type of the source cannot be cast automatically to the type of the destination array. 2 Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. 2 Gets the number of elements contained in the . The number of elements contained in the . 2 Gets an object that can be used to synchronize access to the . An object that can be used to synchronize access to the . 2 Gets a value indicating whether access to the is synchronized (thread safe). true if access to the is synchronized (thread safe); otherwise, false. 2 An emulation of the Netfx30 items. An emulation of the Netfx30 items. An emulation of the Netfx30 items. An emulation of the Netfx30 items. An emulation of the Netfx30 items. An emulation of the Netfx30 items. An emulation of the Netfx30 items. Represents collection of items that doesn't create heap objects unless items are added Adds an weak reference to item to the . The object to add to the . Removes the first occurrence of a specific object from the . true if item was successfully removed from the ; otherwise, false. This method also returns false if item is not found in the original . The object to remove from the . The is read-only. Determines whether the contains a specific value. true if item is found in the ; otherwise, false. The object to locate in the . Gets the approximate number of elements contained in the . Cached hash code of the key, -1 means entry is free Index of next entry in the chain of keys with the same hashcodes (modulo size), -1 means last Index of previous entry in the chain of keys with the same hashcodes (modulo size), -1 means first Cached hash code of the key, -1 means entry is free Index of next entry in the chain of keys with the same hashcodes (modulo size), -1 means last Index of previous entry in the chain of keys with the same hashcodes (modulo size), -1 means first A generic method-based comparer. Factory for . An event that groups multiple incoming signals within a time span and issues only one outgoing signal for them. This allows to accomodate for external events firing at a high rate and execute the handler only when their activity suspends. The object is thread-safe: the incoming event may fire on any thread, the outgoing activity always happens on the primary thread. The outgoing activity is executed under the . The maximum grouping interval is limited by . Limit for an interval of a . To avoid the overhead, events with intervals exceeding this value are not supported. Provides an assertion in case the consumer forgets to dispose of the event. Payload. User action to exec on the event output. NotNull until , when it's reset so that to release the action-associated resources. The deadline, in format, if waiting for execution. Null, otherwise. Interlocked access required. True while we're inside the user , to avoid reentrancy. Primary-thread only. Creates a new grouping event. Must be executed on the primary thread. If there were incoming firings for which there was no outgoing firing yet, cancels that outgoing firing. Fires the incoming event. May be called on any thread. Causes the action to execute on the primary thread under the reentrancy guard after the elapses. Calling this function again within the prolongates the wait by the . Fires the incoming event. May be called on any thread. Causes the action to execute on the primary thread under the reentrancy guard after the elapses. Calling this function again within the does not change the initial deadline, unlike . Checks whether the event has incoming firings for which there were no outgoing firings yet, ie is waiting for the to elaps or for the reentrancy guard to allow the execution after it elapses. When the user action starts executing, gets False until there's the next icoming firing. Called by the host on the primary thread to fire the action. Must be already guarded. Must not throw out. Gets whether the event has expired waiting for the outgoing firing. This means there were no outgoing firings after the incoming firing, and at least an has elapsed since the last incoming firing. Caches the value, to avoid re-quering it in the loops. A 64bit integer in the format. Returns a that represents the current . A that represents the current . 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 The interval within which the incoming events are grouped before the outgoing event fires and the action is executed. Identifier for this event. Manages the schedulling. Clocks the checks for expired events. In debug mode, counts the total number of events this instance met. In debug mode, counts the total number of event state changes, like incoming firings, outgoing firings, and cancellings. The events handled by this instance, both waiting and not. Free-threaded, must be synced with . When timeout expires on any of the events, we try taking the reentrancy guard to execute it. This is True while we're waiting for the async or sync reega call. Primary-thread only. Protects the access. A dummy event of the maximum inteval. The event is incoming-fired whenever any other live event fires, and keeps the clock alive until expires. This makes sure the timer is not constantly switched on and off (which means marshalling). Registers a new event on the host. Free-threaded. Must not be called on already-added events. Creates and registers a new grouping event. A name to identify the event. The grouping interval. The incoming events are grouped until there's a pause of the length, and after that the outgoing event is fired. The interval must be not above . The action for the outgoing event. This action will be executed on the primaty thread and under the . The event on which the incoming events can be fired. Must be disposed of. Unregisters an event from the host. Free-threaded. Safe to call more than once (on unregistered events). There was an incoming firing on one of the events, or a waiting event has been cancelled. Anyway, its deadline has changed and we must accomodate the schedulle. Free-threaded. Clears the events queue. Executes any events that are currently in the expired state. Must be run under the . The clock signal has fired. Check if there's anything to execute. Primary thread. Safe to throw. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 The timer that clocks the checks-for-execution. Supports free-threaded IsEnabled. Default clock period. A value less than 50ms approx means we will be called each time the Thread Message Queue gets empty. We use this to track whether we've been disposed of. What we want to do to the timer. The immediate value set by from any thread. After marshalling to the UI thread, applies to the timer. True while there's a pending running. We should avoid posting multiple simultaneous marshalling requests. The is not enough an indication, as it might be changed back and forth while a marshalling is in progress. The internal timer has ticked. Tick the clock. Primary thread. Controls the enabled state of the timer. Free-threaded. Will not pump. Manages the recurrent actions. Wraps execution into the . Makes sure that the action can be cancelled even if it's pending on the queue. Works on the primary thread only. Action can be executed as much time before the deadline. Timer deadline is set up with this precision. Gets or sets whether the application that owns the alarm is currently active. Recurring actions are executed once at most when the application is inactive. This property must be set by the external owner in the UI applications. A generation is increased each time the application is deactivated. After deactivation, each action can be executed at most once until the app is activated again. Whenever an action is executed, its generation is set to the generation of the alarm. . The nearest deadline for which the timer is set up, or default value if not waiting for any actions. List of all the actions known to the alarm, those waiting for deadline, and waiting on reentrancy guard, and running. Identifies the primary thread. Guards actions execution. Timer that is set to tick when the elapses. Creates the instance. Attaches to the primary thread. Schedulles a new timed action that executes the at recurring s. The new interval starts when the previous action completes exection, so the total interval depends on the execution time. This class can be used on the main thread only. Name to identify the action. Interval between the execution (end-to-start). The interval must be positive and not below 50 milliseconds. The action to execute. A token that MUST be disposed to stop the recurrence. When the deadline comes, executes the actions. Queue manipulation. Affects deadline. Queue manipulation. Affects deadline. Scans thru the queue. Calculates the nearest deadline. Sets up the timer to point to that deadline. If decided that the deadline should be changed, applies the deadline and adjusts the timer. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Skips those actions already in the execution queue and, if the app is inactive, those that have already executed within this inactivity period. Returns only those actions that are eligible for execution at some later moment, from the current point of view. Dummy. The deadline date/time, if we're currently waiting for the deadline. Null, if we've reached the deadline and are now waiting for execution/executing/etc. When the action executes, this is set to the current generation of the alarm. Allows to track whether the action has executed since the last application deactivation, or not. After waiting on the alarm timer queue, starts waiting on the reentrancy guard. Called by the alarm queue when the comes. Places self on the . Must not exec the action on this stack, must . Allows to execute reentrant-safe. Generation we should get upon execution. Notify parent when we reschedulle. Check if still alive after waiting on reega. Schedulles the deadline for the action. Compares by the deadline. The deadline date/time, if we're currently waiting for the deadline. Default value if we've reached the deadline and are now waiting for execution, or executing. When the action executes, this is set to the current generation of the alarm. Allows to track whether the action has executed since the last application deactivation, or not. Manages the timed deferred actions on top of the . Makes sure that the action can be cancelled even if it's pending on the queue. Gets or sets whether the application that owns the alarm is currently active. Recurring actions are executed once at most when the application is inactive. This property must be set by the external owner in the UI applications. A generation is increased each time the application is deactivated. After deactivation, each action can be executed at most once until the app is activated again. Whenever an action is executed, its generation is set to the generation of the alarm. . The list of timed actions that are waiting for their deadline to come, and the actions already in the execution queue, whose deadline is Null. Main thread access only. Timer that is set to tick when the elapses. Nearest deadline of all those deadlines of the timed actions in that are eligible for execution under the current conditions (application inactivity etc). Or 0, if there are no eligible timed actions to execute. Changes to this property start/stop and edit the . Means the has to be recalculated. Queues the action to execute once on the guarded thread when the timeout elapses. Returns a token that cancels the action execution. The token disposal is optional. A is preventing reentrancy between the actions. The name for the task. The action to execute. Exceptions will be trapped. A non-negative time interval. Queues the action to execute asynchronously on the guarded thread at recurring intervals. Returns a token that cancels the recurring action execution. This token must be eventually disposed of. When the application gets inactive, the action is executed once, and then suspends until the application gets activated again. A is preventing reentrancy between the actions. The name for the task. The action to execute. Exceptions will be trapped. A non-negative time interval. Queues a timed action. May be called on any thread. Name of the action. Action executor. Timeout/interval. Whether to repeat. A token to cancel the activity. When the timer ticks, the action whose deadline was reached are executed. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Gets the reentrancy guard for the thread this alarm is working on. Skips those actions already in the execution queue and, if the app is inactive, those that have already executed within this inactivity period. Returns only those actions that are eligible for execution at some later moment, from the current point of view. Tells apart one-time and recurring actions. The schedulling unit of the alarm. Dummy. Fires when the timed-action state changes and the common deadline timer has to be recalculated. The deadline date/time, if we're currently waiting for the deadline. Null, if we've reached the deadline and are now waiting for execution/executing/etc. When the action executes, this is set to the current generation of the alarm. Allows to track whether the action has executed since the last application deactivation, or not. Protects non-atomic -related operations, as they might be executed from different threads. A token of the membership in the alarm's queue, or a dummy. The current state of the timed action, see for details. First states might be set on a foreign thread. After waiting on the alarm timer queue in , starts waiting on the reentrancy guard. Called by the alarm queue when the comes. Places self on the . Must not exec the action on this stack, must . Called on the guarded thread as soon as possible after creating the action. Transitions from to . Adds itself to the alarm queue, if not cancelled yet (atomically). After waiting on the reentrancy guard in , executes the action actually. Schedulles the deadline for the action. Free-threaded. Returns a that represents the current . A that represents the current . 2 Compares the current object with another object of the same type. A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other. An object to compare with this object. Cancels the timed action. Might be called on any thread The deadline date/time, if we're currently waiting for the deadline. Null, if we've reached the deadline and are now waiting for execution/executing/etc. When the action executes, this is set to the current generation of the alarm. Allows to track whether the action has executed since the last application deactivation, or not. The user-supplied action name. The action has just been created. It has not been returned to the user or added to the queue. Transites into . The action has been fully created, but has not been added to the queue. If created on the guarded thread, this immediately transitions into by the method. If created on a foreign thread, the action is returned to the user and can be either cancelled (with , transitions to ) or added to the queue (by , transitions to ). Waiting for the to come on the alarm queue. Accepts (transitions to ) or (to ). Deadline has come. Waiting when the allows us to run. transitions to . transitions to . The action is running. Too late to cancel. When thru, transitions either to (one-time) or (recurring). Either the action has been cancelled, or a one-time action has executed. Terminal state. Removes itself from the queue, if any. A reentrancy guard that prevents controlled actions from running one on top of another. The number of actions to be executed in a row in response to the external driver call to , unless overridden in the function arguments. Period of time since the last external driver call to after which the external driver is considered dead and PostMessage-based implementation is used. Measured in units. The per-thread guard instance. Reentrancy guard lives forever. A composite property that monitors both and and shows whether we can execute actions at the moment. A dispatcher that identifies the guarded thread. While executing an action, the reentrancy constraint can be lifted and another action executed. The executions and liftings thus form a stack. of the last time an external driver placed a call to . If the time limit is exceeded, the component reverts to the default PostMessage behavior. External consumers might raise this flag to temporarily suppress execution of the actions. For example, when a shell RW lock is taken on the primary thread, the actions are postponed. Affects the composite state. Actions that are coming through the method. Added from any thread, peeked/removed from the UI thread. Constructs an instance for the current thread, on first request to . When under an reentrancy guard, temporarily lifts the reentrancy constraints and allows other to be called, as if there were no executions on the stack. This function can be called under execution only. A name that identifies this constraint lifting. The activity to be executed with the constraint lifted. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 If called on the guarded thread and , executes the immediately and synchronously. Otherwise, throws an exception and doesn't execute or queue the action. Throws exceptions on fatal errors, traps exceptions from the proper. Identifies the action being executed. The action to execute. Exceptions will be trapped. Executes an action on the guarded thread in a reentrant-safe manner. If called on a foreign thread, executes the action asynchronously, like . If called on the guarded thread, checks for reentrancy. If there are no guarded executions on the stack yet, executes the action immediately and synchronously. Otherwise, postpones the action for asynchronous execution, like does. Identifies the action in the queue. The action to execute. Exceptions will be trapped. True if executed immediately, False if queued (-compatible behavior). Causes the internal guard actions queue to pump, and actions to execute. The function must be called under good conditions (). The maximum number of actions to execute, or 0 for the default internal value. The number of actions actually executed. Queues the action to execute asynchronously on the guarded thread, as soon as possible. The reentrancy between guarded actions is prevented. Identifies the action in the queue. The action to execute. Exceptions will be trapped. If called on the guarded thread and , executes the immediately and synchronously and returns True. Otherwise, immediately returns False and doesn't execute or queue the action. Identifies the action being executed. The action to execute. Exceptions will be trapped. Check that thread-affinity and reentrancy conditions allow us to execute an action right now. Action name, for error-reporting. A method that schedulles execution of the actions queue. Called when comes true or from within . Can be called on any thread. Executes the pending actions on the guarded thread, if possible. Gets or creates a reentrancy guard for the current thread. Take caution if your code might execute on other threads. In these cases you might want to explicitly take the Guard for the desired thread instead of using . Tells whether the guard can execute actions at this moment, which means there's no action currently executing and is not high. Readonly. Gets a readonly property that tells the name of the current action (an execution or a lifting of the reentrancy constraint, see ), or Null if neither is present. Gets the dispatcher for the thread guarded by this instance. Gets whether there are no pending actions on the Reentrancy Guard queue. All of the deferred actions go through this queue. Gets a readonly property that tells whether a reentrant-safe execution is currently on top of the stack. If True, then is False. If False, then might still be False if suppressed by an external consumer with . External consumers might raise this flag to temporarily suppress execution of the actions. For example, when a shell RW lock is taken on the primary thread, the actions are postponed. Encapsulates the stack of executions and reentrancy liftings. Supposed number of items: less than 10. Main-thread-only. The name of the execution or lifting currently active (on top of the execution stack), or Null if there's none such. Tells whether an execution is currently in progress. This means that the stack is not empty (an is running), and the execution guard has not been lifted with since the last . Technically, tells whether the number of items in the stack is even. Storage for executions and liftings. An execution is addded with , and a lifting with . An execution prevents other executions, and a lifting allows them. An execution can only be added into an empty stack or on top of a lifting, and a lifting can only be added on top of an execution. Thus, the bottom of the stack and every even-indexed item is an execution, and every odd-indexed item is a lifting. Records an execution on the stack, removes upon retval disposal. Item name. Records a reentrancy constraint lifting on the stack, removes upon retval disposal. Item name. Returns a that represents the current . A that represents the current . 2 A stack data structure with events, lite version (compared to and others), without interlocking. Fires when an add/remove operation is performed on the storage. Adds an item to the stack. Updates the properties. Peeks the item on top of the stack. Throws if empty. Removes an item from the stack. Updates the properties. Ensures that we removed exactly the same name we added (valid bracket structure). Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. 1 Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. 2 Gets the number of items in the stack. Encapsulates the queue in a thread-safe manner. Lock for protecting the data structure. The internal storage. Must be protected by . Adds an item to the end of the queue. Thread-safe. Removes the first item in the queue. Does not throw if the queue is empty. Thread-safe. A handler that will be executed on the removed item, in case there were any items in the queue. Whether the queue was not empty and anything were executed. Gets whether the queue currently has no items in it. Thread-safe. A synchro-context to be set on the thread while executing the no-reentrancy action. Attaches to the current thread. Attaches to some given thread (needed for ). Pushes/pops the context on the current thread. Interop. Clone. Use the dispatcher. Use the dispatcher. Implements a data item that waits on the queue. The method to execute. User-assigned name of the action. Returns the fully qualified type name of this instance. A containing a fully qualified type name. 2 A timer that executes its activities under a reentrancy guard and (optionally) suspends the activity when the application is inactive, after executing the action once. This class must be disposed of. Can be used on the primary thread only. Gets or sets the timer interval. Allows to suspend the timer execution when application gets inactive. It's different from in that after falls, the action executes once more until the timer is suspended. When the application gets back active, if the action execution was missed, it's executed immediately. Gets or sets whether the timer is currently enabled. Fires when the timer ticks, under a reentrancy guard. When the event is about to fire, is set to if the app is inactive, or to a Null value if the app is active. Helps with the app-inactivity execution conditions: stop after first time inactive, fire if missed an execution when get active. Raised when we're not waiting for the timer event, but sitting on the queue or executing. In this state, the new timer events are ignored to avoid parallel execution. Tells whether the underlying WinForms should be ON. Applied to the timer offstack to avoid pumping on . Is composed from all the states: , , . Identifies the owning thread. The timer implementation. Tick of the underlying winforms timer. Unguarded. Executes on the timer tick, but under the reentrancy guard. Returns a that represents the current . A that represents the current . 2 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 The name of this instance. A reference wrapper for the for those usages that don't mind creating a new object. Locks. Unlocks. Pushes an / bracket. Reports a thread access inconsistency. Gets the thread the action was expected to execute on. Optional. Gets the thread on which the action was prevented from being executed. A timer that is not held on a strong reference by the system. If there are no more root paths to your class that owns the timer, the ticks stop automatically. Gets or sets the timer ticks interval. Gets or sets whether the timer is currently running. Fires when the timer ticks. Sinking this event does not hold you on a permanent GC root. This timer is held on a strong reference, but it does not hold us. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Defines whether the action is or . Adding. Removing. Notifies that the item is being added to or removed from an event-equipped collection. Collection values type. An event arguments class with one typed value. Type of the value. Constructs the universal event args. Gets the value. Creates the arguments specifically suited for acknowledgement, with the specific flag set and an ability to change the value in order to reuse the arguments object. Gets the action (either or ). Gets the owning event-equipped collection. An optional cookie specified with the operation. Gets whether the handler is being called in the Acknowledgement mode, that is, the items appear/disappear in the handler's view not because they're being put/removed into the collection, but because the collection itself comes/goes into view of the handler, with all of its items. This happens when you sink/unsink the signal. Gets whether is actually . Exactly one of and is guaranteed to be True. Gets whether is actually . Exactly one of and is guaranteed to be True. Notifies that the item is being added to or removed from an event-equipped list. Collection values type. Creates the arguments specifically suited for acknowledgement, with the specific flag set and an ability to change the value in order to reuse the arguments object. Gets the index at which the change is happening. Notifies that the item will be added to or removed from an event-equipped collection, and allows to cancel this action. Collection values type. Creates the arguments specifically suited for acknowledgement, with the specific flag set and an ability to change the value in order to reuse the arguments object. Gets or sets whether the change will be cancelled. Notifies that the item will be added to or removed from an event-equipped list, and allows to cancel this action. Collection values type. Creates the arguments specifically suited for acknowledgement, with the specific flag set and an ability to change the value in order to reuse the arguments object. Gets the index at which the change is happening. Notifies of the intended property change. Comes before the and the actual property change, and allows to cancel the change. Acknowledges the fact that the property change can be either from “no value” to something, or from something to “no value”. Type of the value. Notifies of the property change. Acknowledges the fact that the property change can be either from “no value” to something, or from something to “no value”. Type of the value. Creates an instance that has both values defined. Creates an instance that has only the new value defined. Creates an instance that has only the old value defined. Gets the property modification cookie (a freehand parameter). Gets whether the property will have a new value, ie is defined. Gets whether the property had an old value, ie is defined. Gets whether the handler is being called in the acknowledgement mode, that is, because the property is coming into view or going off the view, and its value effectively changes either from “not known yet” to some value, or the other way. Gets the new value of the property. It's an error to request the value if not . Gets the old value of the property. It's an error to request the value if not . Gets the property that has changed. You should use the and properties on this object instead of quering values from the property directly. You should not set new values to the property, unless you're sure you know what you're doing. Creates an instance that has both values defined. Creates an instance that has only the new value defined. Creates an instance that has only the old value defined. Gets or sets whether the change will be cancelled. Typically, fires before the -bearing event. Provides for cancelling the change altogether. No actions on the change should be taken, because it may well be cancelled. Throwing an exception in response to this event is pretty OK, because it will cancel all the changes just as well — no actual change handler has executed. The identity of the item that changes. The old and new values for the item. When something changes, presents the details about the change. The identity of the item that changes. The old and new values for the item. Gets the name of the entity that has changed, eg property name. Gets the new value. Gets the old value. Gets or sets whether the change will be cancelled. An event arguments class with one typed value and the Cancel functionality. Type of the value. Gets or sets whether the change will be cancelled. Bridges two unordered collection of items. The items flow from the first collection to the second one. Conversion and filtering is supported on the items. Type of the source collection items. Type of the target collection items. Two-way map, non-Null only in two-way mode. One-way map, non-Null only in one-way mode. Wires up the bridge. Specifies which mapping information is maintained by the bridge — source-to-target only, or both ways. one-way is cheaper. The source collection. The target collection. The conversion operator. The mapping filter to exclude selected items from the target collection. An otpional cookie to be passed to the collection when performing modification operations on it. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Gets which mapping information is maintained by the bridge — source-to-target only, or both ways. Gets the read-only source-to-target mapping info. This one is always available. Gets the read-only target-to-source mapping. Available only if is set to ; in other cases, throws a . Gets the source collection. Gets the target collection. Supplimentary class for the utility. Mirrors one collection into another. Mirrors one collection into another thru a converter. Kind of info about collections mapping to be maintained by the bridge. There's only data for translating from the source collection to the target one. There's data for translating both from source to target and from target to source collection items. A collection that fires events when items are added or removed. Collection values type. A collection that fires events when items are added or removed. Collection values type. Attempts to add the item to the collection. The value to be added. An optional cookie that comes along with the notification events data. Whether the item was added to the collection. An addition can be cancelled by the duplicates merger or the before-added handlers. Executes the operation for all the elements in the given collection. The collection whose elements should be added. A universal method for modifications on the collection. Useful for data flow between the collections, when signal handler is pumping into another collection. Whether to add or remove the item. The item to add or remove. The optional modification cookie. Success code. Attempts to add the item to the collection. The value to be added. An optional cookie that comes along with the notification events data. If the item was added to the collection (not cancelled by the duplicates merger or the before-added handlers), returns an object that removes the item from the collection on . Otherwise, returns a dummy . Attempts to add the item to the collection. The value to be added. If the item was added to the collection (not cancelled by the duplicates merger or the before-added handlers), returns an object that removes the item from the collection on . Otherwise, returns a dummy . Attempts to remove a value from the collection. The value to be removed. An optional cookie that comes along with the notification events data. Whether the item was removed from the collection. A removal may fail either if the item is missing from the collection, or the before-removed handlers have cancelled the operation. Fires when an item is added or removed to your view on the collection. Throwing an exception does not prevent the item from being added or other handlers from being called. The event supports acknowledgement, which means that when you sink the event, all of the items currently in collection come into your view on the collection, so the add is fired for each. Similarly, remove is fired when you unsink and all of the elements go away from your view on the collection. Fires before an item is added or removed. To prevent the add/remove operation, set to True (decline the operation silently) or throw an exception (the exception is let out to the caller). After the first handler to cancel the operation, the remaining handlers may not be called. No are guaranteed to be executed if the operation is cancelled. Gets the number of elements contained in the collection. Gets the identification for this list. Sync thru . Initializes the collection by giving the underlying storage that also implements the collection interface. An unique identifier for the list, to tell it apart in data flow chains. The underlying collection, all the operations will be relayed to it. Whether the method should abort silently if the collection already the item being added. Initializes the collection by giving the underlying storage that also implements the collection interface. An unique identifier for the list, to tell it apart in data flow chains. The underlying collection, all the operations will be relayed to it. Whether the method should abort silently if the collection already the item being added. Creates a collection that is based on a and merges duplicate items. Creates a collection that is based on a and merges duplicate items. Fires the event. Fires the event. Returns whether the operation has been cancelled. Fires the event in case the index is not known. Fires the event in case the index is known. Fires the event. One of the core methods that implement the actual functionality. One of the core methods that implement the actual functionality. Ackhowledges the handler. Called when someone attempts to sink the signal. Acknowledges the handler. Returns a that represents the current . A that represents the current . 2 Attempts to add the item to the collection. The value to be added. An optional cookie that comes along with the notification events data. Whether the item was added to the collection. An addition can be cancelled by the duplicates merger or the before-added handlers. Adds an item to the . The object to add to the . The is read-only. Executes the operation for all the elements in the given collection. The collection whose elements should be added. Removes all items from the . The is read-only. Determines whether the contains a specific value. true if item is found in the ; otherwise, false. The object to locate in the . Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in array at which copying begins. arrayIndex is less than 0. array is null. array is multidimensional.-or-arrayIndex is equal to or greater than the length of array.-or-The number of elements in the source is greater than the available space from arrayIndex to the end of the destination array.-or-Type T cannot be cast automatically to the type of the destination array. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. 2 Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. 1 A universal method for modifications on the collection. Useful for data flow between the collections, when signal handler is pumping into another collection. Whether to add or remove the item. The item to add or remove. The optional modification cookie. Success code. Attempts to add the item to the collection. The value to be added. An optional cookie that comes along with the notification events data. If the item was added to the collection (not cancelled by the duplicates merger or the before-added handlers), returns an object that removes the item from the collection on . Otherwise, returns a dummy . Attempts to add the item to the collection. The value to be added. If the item was added to the collection (not cancelled by the duplicates merger or the before-added handlers), returns an object that removes the item from the collection on . Otherwise, returns a dummy . Attempts to remove a value from the collection. The value to be removed. An optional cookie that comes along with the notification events data. Whether the item was removed from the collection. A removal may fail either if the item is missing from the collection, or the before-removed handlers have cancelled the operation. Removes the first occurrence of a specific object from the . true if item was successfully removed from the ; otherwise, false. This method also returns false if item is not found in the original . The object to remove from the . The is read-only. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in array at which copying begins. array is null. The type of the source cannot be cast automatically to the type of the destination array. index is less than zero.