[Rider] Initialize members with other class as prototype

Rider have code generator for new objects

var model = new NewUserDTO
{
// Alt+Enter -> Initialize members
};

Is there any way to initialize members by prototype? As example some entity was fetched before and now we need to match all properties (name by name) and then adjust as we need

1
1 comment

Hi Ruslan Yakauleu

This is not possible now in Rider, but we have the following feature request for this: RIDER-11489. Feel free to upvote it and leave your comments. 

Should you have any other questions, let us know. Have a nice day! 

0

Please sign in to leave a comment.