Alt-Insert > Remove prefix from property

Hopefully a simple answer for a simple question. I am obviously not a jedi yet.

If I have an field -

private static string m_CrmDomain;

How do I alt-insert to create a property that is named -

public static string CrmDomain
{
get { return m_CrmDomain; }
}

2 comments
Comment actions Permalink

Answered:

ReSharper >> Options >> Languages >> C# >> NamingStyle

0
Comment actions Permalink

Hello Justin,

Configure your field prefix in ReSharper / Options / Languages / Common /
Naming Style


Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


IR> Hopefully a simple answer for a simple question. I am obviously not
IR> a jedi yet.
IR>
IR> If I have an field -
IR>
IR> private static string m_CrmDomain;
IR>
IR> How do I alt-insert to create a property that is named -
IR>
IR> public static string CrmDomain
IR> {
IR> get { return m_CrmDomain; }
IR> }


0

Please sign in to leave a comment.