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

Nested Generics in Variable Declaration #295

Closed
belav opened this issue Jun 12, 2021 · 1 comment · Fixed by #370
Closed

Nested Generics in Variable Declaration #295

belav opened this issue Jun 12, 2021 · 1 comment · Fixed by #370
Assignees
Milestone

Comments

@belav
Copy link
Owner

belav commented Jun 12, 2021

I'm not exactly sure what to do with this, but it doesn't look the best right now.

class ClassName
{
    void MethodName()
    {
        PropertyMapActions.Add(
            pm =>
            {
                Expression<Func<
                        TSource,
                        TDestination,
                        TMember,
                        TMember,
                        ResolutionContext,
                        bool
                    >> expr = (src, dest, srcMember, destMember, ctxt) => condition(
                    src,
                    dest,
                    srcMember,
                    destMember,
                    ctxt
                );
            }
        );
    }
}
@belav belav added type:bug Something isn't working area:formatting labels Jun 12, 2021
@belav
Copy link
Owner Author

belav commented Jun 12, 2021

Another nested generic

        IReadOnlyCollection<Action<
                PropertyMap,
                IMemberConfigurationExpression
            >> IProfileConfiguration.AllPropertyMapActions => _allPropertyMapActions.NullCheck();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant