Table of Contents

Interface IFileTypeTransaction

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Represents a transaction for making atomic changes.

public interface IFileTypeTransaction : IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inherited Members
Extension Methods

Remarks

Changes are applied when the transaction is committed by calling Commit() or by disposing the transaction.

Methods

Cancel()

Cancels the changes made in this transaction. After calling this method, the transaction should not be used again. This prevents the changes from being applied when the transaction is disposed.

Commit()

Commits the changes made in this transaction. This can also be accomplished by calling Dispose(), as long as Cancel() has not been called.