Click or drag to resize

SequenceExtension Methods

The SequenceExtension type exposes the following members.

Methods
 NameDescription
Public methodGenerateNextValue This is called when next number should be generated and reserved.
Public methodGetBehavior Modify the behavior of this sequence as defined in ctExtensionSequenceBehavior enumeration. E.g. define ctExtensionSequenceBehaviorExclusive to drop out all other serials from Get Code -dialog than exclusive one(s).
Public methodGetDependentPropertyID If you wish to get value of some property when generating serial, return that property's id here so it value will be provided at PeakNextValue and GenerateNextValue calls.
Public methodGetID ID of the sequence, should be unique in current extension.
Public methodGetName Name of the sequence that is shown in CUSTOMTOOLS UI
Public methodGetParent Return parent CTExtension of this options extension.
Public methodNotifyInitialized Notification that is called when this sequence is initialized by the CT core. Note that ID might change and so DO NOT store any information based on this ID.
Public methodPeakNextValue Provide next value if possible to preview it in the GetCode dialog box but don't reserve it yet. CUSTOMTOOLS supports showing the next number only when it's possible. You can also return an empty string here.
Public methodRollback This is called when previously reserved number should be rolled back. This may occur if user cancels or an error occurs after number is generated (reserved) but before it's really used. In that case previously reserved number should be released to be re-used.
Top
See Also