| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Nito.Disposables</name>
- </assembly>
- <members>
- <member name="T:Nito.Disposables.AnonymousDisposable">
- <summary>
- A disposable that executes a delegate when disposed.
- </summary>
- </member>
- <member name="M:Nito.Disposables.AnonymousDisposable.#ctor(System.Action)">
- <summary>
- Creates a new disposable that executes <paramref name="dispose"/> when disposed.
- </summary>
- <param name="dispose">The delegate to execute when disposed. If this is <c>null</c>, then this instance does nothing when it is disposed.</param>
- </member>
- <member name="M:Nito.Disposables.AnonymousDisposable.Dispose(System.Action)">
- <inheritdoc />
- </member>
- <member name="M:Nito.Disposables.AnonymousDisposable.Add(System.Action)">
- <summary>
- Adds a delegate to be executed when this instance is disposed. If this instance is already disposed or disposing, then <paramref name="dispose"/> is executed immediately.
- </summary>
- <param name="dispose">The delegate to add. May be <c>null</c> to indicate no additional action.</param>
- </member>
- <member name="M:Nito.Disposables.AnonymousDisposable.Create(System.Action)">
- <summary>
- Creates a new disposable that executes <paramref name="dispose"/> when disposed.
- </summary>
- <param name="dispose">The delegate to execute when disposed. May not be <c>null</c>.</param>
- </member>
- <member name="T:Nito.Disposables.CollectionDisposable">
- <summary>
- Disposes a collection of disposables.
- </summary>
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.#ctor(System.IDisposable[])">
- <summary>
- Creates a disposable that disposes a collection of disposables.
- </summary>
- <param name="disposables">The disposables to dispose.</param>
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.#ctor(System.Collections.Generic.IEnumerable{System.IDisposable})">
- <summary>
- Creates a disposable that disposes a collection of disposables.
- </summary>
- <param name="disposables">The disposables to dispose.</param>
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.Dispose(System.Collections.Immutable.ImmutableQueue{System.IDisposable})">
- <inheritdoc />
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.Add(System.IDisposable)">
- <summary>
- Adds a disposable to the collection of disposables. If this instance is already disposed or disposing, then <paramref name="disposable"/> is disposed immediately.
- </summary>
- <param name="disposable">The disposable to add to our collection.</param>
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.Create(System.IDisposable[])">
- <summary>
- Creates a disposable that disposes a collection of disposables.
- </summary>
- <param name="disposables">The disposables to dispose.</param>
- </member>
- <member name="M:Nito.Disposables.CollectionDisposable.Create(System.Collections.Generic.IEnumerable{System.IDisposable})">
- <summary>
- Creates a disposable that disposes a collection of disposables.
- </summary>
- <param name="disposables">The disposables to dispose.</param>
- </member>
- <member name="T:Nito.Disposables.Internals.BoundActionField`1">
- <summary>
- A field containing a bound action.
- </summary>
- <typeparam name="T">The type of context for the action.</typeparam>
- </member>
- <member name="M:Nito.Disposables.Internals.BoundActionField`1.#ctor(System.Action{`0},`0)">
- <summary>
- Initializes the field with the specified action and context.
- </summary>
- <param name="action">The action delegate.</param>
- <param name="context">The context.</param>
- </member>
- <member name="P:Nito.Disposables.Internals.BoundActionField`1.IsEmpty">
- <summary>
- Whether the field is empty.
- </summary>
- </member>
- <member name="M:Nito.Disposables.Internals.BoundActionField`1.TryGetAndUnset">
- <summary>
- Atomically retrieves the bound action from the field and sets the field to <c>null</c>. May return <c>null</c>.
- </summary>
- </member>
- <member name="M:Nito.Disposables.Internals.BoundActionField`1.TryUpdateContext(System.Func{`0,`0})">
- <summary>
- Attempts to update the context of the bound action stored in the field. Returns <c>false</c> if the field is <c>null</c>.
- </summary>
- <param name="contextUpdater">The function used to update an existing context. This may be called more than once if more than one thread attempts to simultanously update the context.</param>
- </member>
- <member name="T:Nito.Disposables.Internals.BoundActionField`1.IBoundAction">
- <summary>
- An action delegate bound with its context.
- </summary>
- </member>
- <member name="M:Nito.Disposables.Internals.BoundActionField`1.IBoundAction.Invoke">
- <summary>
- Executes the action. This should only be done after the bound action is retrieved from a field by <see cref="M:Nito.Disposables.Internals.BoundActionField`1.TryGetAndUnset"/>.
- </summary>
- </member>
- <member name="T:Nito.Disposables.NoopDisposable">
- <summary>
- A singleton disposable that does nothing when disposed.
- </summary>
- </member>
- <member name="M:Nito.Disposables.NoopDisposable.Dispose">
- <summary>
- Does nothing.
- </summary>
- </member>
- <member name="P:Nito.Disposables.NoopDisposable.Instance">
- <summary>
- Gets the instance of <see cref="T:Nito.Disposables.NoopDisposable"/>.
- </summary>
- </member>
- <member name="T:Nito.Disposables.SingleDisposable`1">
- <summary>
- A base class for disposables that need exactly-once semantics in a threadsafe way. All disposals of this instance block until the disposal is complete.
- </summary>
- <typeparam name="T">The type of "context" for the derived disposable. Since the context should not be modified, strongly consider making this an immutable type.</typeparam>
- <remarks>
- <para>If <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose"/> is called multiple times, only the first call will execute the disposal code. Other calls to <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose"/> will wait for the disposal to complete.</para>
- </remarks>
- </member>
- <member name="F:Nito.Disposables.SingleDisposable`1._context">
- <summary>
- The context. This is never <c>null</c>. This is empty if this instance has already been disposed (or is being disposed).
- </summary>
- </member>
- <member name="M:Nito.Disposables.SingleDisposable`1.#ctor(`0)">
- <summary>
- Creates a disposable for the specified context.
- </summary>
- <param name="context">The context passed to <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose(`0)"/>.</param>
- </member>
- <member name="P:Nito.Disposables.SingleDisposable`1.IsDisposeStarted">
- <summary>
- Whether this instance is currently disposing or has been disposed.
- </summary>
- </member>
- <member name="P:Nito.Disposables.SingleDisposable`1.IsDisposed">
- <summary>
- Whether this instance is disposed (finished disposing).
- </summary>
- </member>
- <member name="P:Nito.Disposables.SingleDisposable`1.IsDisposing">
- <summary>
- Whether this instance is currently disposing, but not finished yet.
- </summary>
- </member>
- <member name="M:Nito.Disposables.SingleDisposable`1.Dispose(`0)">
- <summary>
- The actul disposal method, called only once from <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose"/>.
- </summary>
- <param name="context">The context for the disposal operation.</param>
- </member>
- <member name="M:Nito.Disposables.SingleDisposable`1.Dispose">
- <summary>
- Disposes this instance.
- </summary>
- <remarks>
- <para>If <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose"/> is called multiple times, only the first call will execute the disposal code. Other calls to <see cref="M:Nito.Disposables.SingleDisposable`1.Dispose"/> will wait for the disposal to complete.</para>
- </remarks>
- </member>
- <member name="M:Nito.Disposables.SingleDisposable`1.TryUpdateContext(System.Func{`0,`0})">
- <summary>
- Attempts to update the stored context. This method returns <c>false</c> if this instance has already been disposed (or is being disposed).
- </summary>
- <param name="contextUpdater">The function used to update an existing context. This may be called more than once if more than one thread attempts to simultanously update the context.</param>
- </member>
- <member name="T:Nito.Disposables.SingleNonblockingDisposable`1">
- <summary>
- A base class for disposables that need exactly-once semantics in a threadsafe way.
- </summary>
- <typeparam name="T">The type of "context" for the derived disposable. Since the context should not be modified, strongly consider making this an immutable type.</typeparam>
- <remarks>
- <para>If <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose"/> is called multiple times, only the first call will execute the disposal code. Other calls to <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose"/> will not wait for the disposal to complete.</para>
- </remarks>
- </member>
- <member name="F:Nito.Disposables.SingleNonblockingDisposable`1._context">
- <summary>
- The context. This is never <c>null</c>. This is empty if this instance has already been disposed (or is being disposed).
- </summary>
- </member>
- <member name="M:Nito.Disposables.SingleNonblockingDisposable`1.#ctor(`0)">
- <summary>
- Creates a disposable for the specified context.
- </summary>
- <param name="context">The context passed to <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose(`0)"/>.</param>
- </member>
- <member name="P:Nito.Disposables.SingleNonblockingDisposable`1.IsDisposed">
- <summary>
- Whether this instance has been disposed (or is being disposed).
- </summary>
- </member>
- <member name="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose(`0)">
- <summary>
- The actul disposal method, called only once from <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose"/>.
- </summary>
- <param name="context">The context for the disposal operation.</param>
- </member>
- <member name="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose">
- <summary>
- Disposes this instance.
- </summary>
- <remarks>
- <para>If <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose"/> is called multiple times, only the first call will execute the disposal code. Other calls to <see cref="M:Nito.Disposables.SingleNonblockingDisposable`1.Dispose"/> will not wait for the disposal to complete.</para>
- </remarks>
- </member>
- <member name="M:Nito.Disposables.SingleNonblockingDisposable`1.TryUpdateContext(System.Func{`0,`0})">
- <summary>
- Attempts to update the stored context. This method returns <c>false</c> if this instance has already been disposed (or is being disposed).
- </summary>
- <param name="contextUpdater">The function used to update an existing context. This may be called more than once if more than one thread attempts to simultanously update the context.</param>
- </member>
- </members>
- </doc>
|