BatchEditable Class |
Namespace: Demo3D.Common
public class BatchEditable : IBatchEditable
The BatchEditable type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginEditAsync |
Start batch editing.
| |
| EndEditAsync |
End batch editing.
|
| Name | Description | |
|---|---|---|
| EditBegunAsync |
Raised on first call to BeginEditAsync(Boolean).
| |
| EditEndedAsync |
Raised on last call to EndEditAsync(Boolean).
|
NotifyEditBegunAsync and NotifyEditEndedAsync occur at most once per 'batch', and in strict order (so that NotifyEditEndedAsync always occurs before NotifyEditEndedAsync).
There's no guarantee that NotifyEditBegunAsync will be called before BeginEditAsync returns. It may be called at any point between BeginEdit and EndEdit, or even after EndEdit. And under certain circumstances, a sequence of BeginEdit/EndEdit may not call the Notify methods at all.
NotifyEditBegunAsync may not be called in the same thread (or even synchronisation context) as BeginEditAsync. And NotifyEditEndedAsync may not be called in the same thread (or synchronisation context) as NotifyEditBegunAsync.