Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wangkanai
Copy link
Owner

@wangkanai wangkanai commented Jun 17, 2023

For clarity, all overloads of the same method should be grouped together. That lets both users and maintainers quickly understand all the current available options.

For clarity, all overloads of the same method should be grouped together. That lets both users and maintainers quickly understand all the current available options.
@wangkanai wangkanai self-assigned this Jun 17, 2023
@wangkanai wangkanai added this to the 7.0 milestone Jun 17, 2023
Copy link
Owner Author

@wangkanai wangkanai left a comment

Choose a reason for hiding this comment

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

completed

public static bool FalseIfNull<T>(this T? value)
=> !value.TrueIfNull();

[Obsolete(ObsoleteResources.Duplicated)]
Copy link
Owner Author

Choose a reason for hiding this comment

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

Remove obsolete code

Copy link
Owner Author

Choose a reason for hiding this comment

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

I have remove

public static bool TrueIfNull<T>(this T? value)
=> value is null;

public static bool FalseIfNull<T>(this T? value)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Need to add unit tests

@wangkanai wangkanai merged commit 4c6aa46 into main Jun 17, 2023
@wangkanai wangkanai deleted the system branch June 17, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants