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 UmlRoboticsMessagePackageGeneratorFactory(IKeyedTemplateFormatter templateEngine)
 {
     _templateEngine = templateEngine ?? throw new ArgumentNullException(nameof(templateEngine));
 }
 public UmlRoboticsMessagePackageGenerator(CodeGenerationPackageContext package, CodeGenerationOptions options,
                                           ProjectCodeGenerationDirectoryContext directories, IKeyedTemplateFormatter templateEngine) : base(package,
                                                                                                                                             options, directories, templateEngine)
 {
 }
Esempio n. 4
0
 public SingleKeyTemplateFormatter(string key, IKeyedTemplateFormatter keyedTemplateFormatter)
 {
     _key = key ?? throw new ArgumentNullException(nameof(key));
     _keyedTemplateFormatter = keyedTemplateFormatter ?? throw new ArgumentNullException(nameof(keyedTemplateFormatter));
 }