Add action when performing "Initialize Field From constructor"

Hello,

I was wondering if It's possible to perform addictional step when performing this action

What I've to do in the specific is to add this

<pre>

Argument.IsNotNull(()=>repository);

</pre>

 

and add Using Catel if missing

 

Is it possible?

How?

Thanks

1 comment
Comment actions Permalink
Official comment

Hello Paolo!

 

Thank you for contacting us.

R# doesn’t provide anything like this out of the box, but you can write a plugin that will help. 

Here's guide for R# plugin development - https://www.jetbrains.com/help/resharper/sdk/README.html

Thank you.

Please sign in to leave a comment.