1 write to _spec
aspire (1)
Projects\GuestRuntime.cs (1)
27_spec = spec;
16 references to _spec
aspire (16)
Projects\GuestRuntime.cs (16)
34public string Language => _spec.Language; 39public string DisplayName => _spec.DisplayName; 49if (_spec.InstallDependencies is null) 51_logger.LogDebug("No dependency installation configured for {Language}", _spec.Language); 55var command = FindCommand(_spec.InstallDependencies.Command); 58_logger.LogError("Command '{Command}' not found in PATH", _spec.InstallDependencies.Command); 62var args = ReplacePlaceholders(_spec.InstallDependencies.Args, null, directory, null); 83if (_spec.InstallDependencies.EnvironmentVariables is not null) 85foreach (var (key, value) in _spec.InstallDependencies.EnvironmentVariables) 115var commandSpec = watchMode && _spec.WatchExecute is not null 116? _spec.WatchExecute 117: _spec.Execute; 139var commandSpec = _spec.PublishExecute ?? _spec.Execute; 205_logger.LogDebug("{Language}({ProcessId}) stdout: {Line}", _spec.Language, process.Id, e.Data); 214_logger.LogDebug("{Language}({ProcessId}) stderr: {Line}", _spec.Language, process.Id, e.Data);