Ejemplo n.º 1
0
        internal static string GetString(Expression expression, Func <Type, string> getTypeName)
        {
            var builder = new ExpressionStringBuilder(getTypeName, expression);

            return(builder.ToString());
        }
Ejemplo n.º 2
0
 /// <devdoc>
 /// TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583
 /// is fixed.
 /// </devdoc>
 public static string ToStringFixed(this Expression expression, bool useFullTypeName = false)
 {
     return(ExpressionStringBuilder.GetString(expression, useFullTypeName));
 }
Ejemplo n.º 3
0
 /// <devdoc>
 /// TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583
 /// is fixed.
 /// </devdoc>
 public static string ToStringFixed(this Expression expression)
 {
     return(ExpressionStringBuilder.GetString(expression));
 }
Ejemplo n.º 4
0
        internal static string GetString(Expression expression, bool useFullName = false)
        {
            var builder = new ExpressionStringBuilder(expression, useFullName);

            return(builder.ToString());
        }