Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process extension #304

Merged
merged 2 commits into from
Mar 19, 2020
Merged

Process extension #304

merged 2 commits into from
Mar 19, 2020

Conversation

Allcharles
Copy link
Collaborator

Process Extension

Wrapped windows only software for retrieving parent process.

Changes

  • Renamed ExtensionsSystem.cs to ExtensionsGeneral.cs
  • Removed warnings from ExtensionsGeneral.cs file
  • Extracted ProcessExtensions class to separate file
  • Return null when non windows computer attempts to retrieve parent process
  • Updated VSCode tasks

Issues

- Removed warnings from `ExtensionsGeneral.cs` file
- Extracted `ProcessExtensions` class to separate file
- Return null when non windows computer attempts to retrieve parent process
- Updated VSCode tasks
@Allcharles Allcharles requested a review from atruskie March 19, 2020 09:28
@Allcharles Allcharles marked this pull request as ready for review March 19, 2020 09:28
Copy link
Member

@atruskie atruskie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention we want for extension classes is XXXExtensions. Rename to ExtensionsGeneral.cs to SystemExtensions.

It seems the tests failed The name 'GetParentProcess' does not exist in the current context. Probably because they're in #RELEASE and the code doesn't exist because of the macro.

lastly, add a test for MainEntry invocation

src/AnalysisPrograms/Production/MainEntryUtilities.cs Outdated Show resolved Hide resolved
@atruskie atruskie merged commit 48371ec into azure-pipelines Mar 19, 2020
@atruskie atruskie deleted the process-extension branch March 19, 2020 13:15
atruskie pushed a commit that referenced this pull request Apr 2, 2020
* - Renamed `ExtensionsSystem.cs` to `ExtensionsGeneral.cs`
- Removed warnings from `ExtensionsGeneral.cs` file
- Extracted `ProcessExtensions` class to separate file
- Return null when non windows computer attempts to retrieve parent process
- Updated VSCode tasks

* Addressing review comments
Work done for #196
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants