Skip to content

Make 'ExtractZipFromBytesAsync' a static method. #552

@ziagham

Description

@ziagham

What version of FlowSynx?

1.2.1

Describe the bug

The method ExtractZipFromBytesAsync is currently an instance method:

File: src/FlowSynx.Infrastructure/PluginHost/Manager/PluginDownloader.cs line 135

private async Task ExtractZipFromBytesAsync(

Since this method does not depend on any instance state and only operates on its input parameter, it should be made static.

Proposed Change:

private static async Task ExtractZipFromBytesAsync(

This change will:

  • Clarify that ExtractZipFromBytesAsync does not rely on instance state.
  • Potentially improve performance slightly by avoiding the need for an instance reference.
  • Make it easier to call from other static contexts if you need to.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions