public IRosPackageGenerator CreateMessagePackageGenerator(CodeGenerationOptions options, CodeGenerationPackageContext package, ProjectCodeGenerationDirectoryContext packageDirectories) { var generator = new UmlRoboticsMessagePackageGenerator(package, options, packageDirectories, _templateEngine); return(generator); }
protected RosMessagePackageGenerator(CodeGenerationPackageContext package, CodeGenerationOptions options, ProjectCodeGenerationDirectoryContext directories, IKeyedTemplateFormatter templateEngine) { Package = package ?? throw new ArgumentNullException(nameof(package)); Options = options ?? throw new ArgumentNullException(nameof(options)); _directories = directories ?? throw new ArgumentNullException(nameof(directories)); _templateEngine = templateEngine ?? throw new ArgumentNullException(nameof(templateEngine)); }
public UmlRoboticsMessagePackageGenerator(CodeGenerationPackageContext package, CodeGenerationOptions options, ProjectCodeGenerationDirectoryContext directories, IKeyedTemplateFormatter templateEngine) : base(package, options, directories, templateEngine) { }