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

Add *ExpressionHelper OnGetArguments() overloads #296

Open
Foxtrek64 opened this issue Jan 4, 2024 · 0 comments
Open

Add *ExpressionHelper OnGetArguments() overloads #296

Foxtrek64 opened this issue Jan 4, 2024 · 0 comments

Comments

@Foxtrek64
Copy link
Contributor

Foxtrek64 commented Jan 4, 2024

I've modified OnGetArguments in my personal environment to accept more parameter types. I've added the following:

// BinaryExpressionHelper.cs
public static void OnGetArguments<TLeft, TRight>(CodeActivityMetadata, InArgument<TLeft>, InArgument<TRight>);
public static void OnGetArguments<TLeft, TRight>(CodeActivityMetadata, InOutArgument<TLeft>, InArgument<TRight>);
public static void OnGetArguments<TLeft, TRight>(CodeActiviytMetadata, InArgument<TLeft, InOutArgument<TRight>);
public static void OnGetArguments<TLeft, TRight>(CodeActiviytMetadata, InOutArgument<TLeft, InOutArgument<TRight>);

// All of these forward to this method:
internal static void OnGetArgumentsBase<TLeft, TRight>
(
    CodeActivityMetadata,
    Argument left,
    ArgumentDirection leftDirection,
    Argument right,
    ArgumentDirection rightDirection
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant