public AngularModelSyntax(IExecutableSyntax syntax, AngularModelCommand command) { this.syntax = syntax; this.command = command; }
public AngularServiceSyntax(IExecutableSyntax syntax, AngularServiceCommand command) { this.syntax = syntax; this.command = command; this.command.Parameters.RelativeModelPath = this.syntax.Commands.OfType <AngularModelCommand>().FirstOrDefault()?.Parameters.RelativePath; }