TransactedObject Class |
Namespace: AGI.Foundation.Infrastructure.Threading
The TransactedObject type exposes the following members.
| Name | Description | |
|---|---|---|
| TransactedObject |
Initializes a new instance with a specified owner.
|
| Name | Description | |
|---|---|---|
| Context |
Gets the transaction context in which this object can be modified.
| |
| Owner |
Gets the object that owns this transacted object, or if this object
does not have an owner.
|
| Name | Description | |
|---|---|---|
| Abort |
Aborts the specified modification.
| |
| CheckTransaction |
Verifies that a specified transaction is in the same context as this
transacted object and throws an ArgumentException if it is not.
| |
| Cleanup |
Cleans up modifications that are no longer visible to any transaction.
| |
| Commit |
Commits the specified modification.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Notify |
Notifies interested parties of changes to this transacted object.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| ValidateModification |
Verifies a modification to ensure that it is still valid after other transactions
have potentially committed modifications to this object.
|