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

✨ ChangeFormat fluent style returning itself #202

Merged
merged 1 commit into from Nov 24, 2023

Conversation

pleonex
Copy link
Member

@pleonex pleonex commented Nov 24, 2023

Return the same node when calling ChangeFormat to allow method chaining.

This PR closes #196

Quality check list

  • Related code has been tested automatically or manually
  • Related documentation is updated
  • I acknowledge I have read and filled this checklist and accept the
    developer certificate of origin

Acceptance criteria

  • ChangeFormat returns the same node

Follow-up work

Further improvements will continue in #195 with an overload to import files.

Example

using var node = new Node("node")
    .ChangeFormat(binFormat)
    .TransformWith<Binary2Po>();

@pleonex pleonex added this to the v4.0 milestone Nov 24, 2023
@pleonex pleonex self-assigned this Nov 24, 2023
@pleonex pleonex merged commit 49038fe into develop Nov 24, 2023
5 checks passed
@pleonex pleonex deleted the feature/196-changeformat-fluent branch November 24, 2023 12:10
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.

Improve ChangeFormat fluent-like API
1 participant