Constructs a new GenerationResult with default failure state
Optional CodeOptional TypeScript code that will be injected into the class definition of the Angular component. Useful for adding additional methods, properties, or lifecycle hooks to the component.
Reference to the generator component that produced this output. Used for accessing component properties later for imports and module configuration.
Optional ErrorIf generation failed, contains the error message describing what went wrong
Indicates whether the generation process completed successfully
The generated HTML/Angular template code that will be embedded in the final Angular component template
Result object returned by Angular code generation classes. Contains the generated template, optional TypeScript code, and metadata about the generation process.