Caché Class Definition Reference
GenerateAfter
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Specifies when to generate this method. Applies only if the method is a method generator.
Usage
To specify that the generator for this method should be invoked after other methods are generated, use the following syntax:
Method name(formal_spec) As returnclass [ CodeMode = ObjectGenerator, GenerateAfter = methodlist ]
{
   //implementation
}
Where methodlist is either a single method name or a comma-separated list of method names, enclosed in parentheses.
Details
In the case of a method generator method, specifies that the generator should be invoked after the listed methods are generated. This keyword is useful when you need to control the order in which your method generators are invoked.
See Also