@@ -88,40 +88,40 @@ public class CSTOJSOptions
8888 public bool NormalizeWhitespace { get ; set ; } = false ;
8989
9090 /// <summary>
91- /// Translate current <see cref="FileData" />. If false, walker will not be called.
91+ /// Do not translate current <see cref="FileData" />. If true, walkers/rewriters will not be called.
9292 /// </summary>
9393 /// <remarks>
9494 /// <blockquote class="NOTE"><h5>NOTE</h5>
9595 /// <para>
96- /// cstojs_options.xml: <Option TranslateFile ="true " />
96+ /// cstojs_options.xml: <Option DisableTranslation ="false " />
9797 /// </para>
9898 /// </blockquote>
9999 /// </remarks>
100100 /// <value>
101- /// Default: <c>true </c>
101+ /// Default: <c>false </c>
102102 /// </value>
103- public bool TranslateFile { get ; set ; } = true ;
103+ public bool DisableTranslation { get ; set ; } = false ;
104104
105105 /// <summary>
106- /// Process the nameof expression.
106+ /// Disable processing of the nameof expression.
107107 /// </summary>
108108 /// <remarks>
109109 /// <blockquote class="NOTE"><h5>NOTE</h5>
110110 /// <para>
111- /// cstojs_options.xml: <Option ProcessNameOfExpression ="true " />
111+ /// cstojs_options.xml: <Option DisableNameOfProcessing ="false " />
112112 /// </para>
113113 /// </blockquote>
114114 /// For example:
115115 /// <c>nameof(List<int>.Add);</c>
116- /// If true , the expression will be translated as:
116+ /// If false , the expression will be translated as:
117117 /// <c>"push"</c>
118- /// If false :
118+ /// If true :
119119 /// <c>"Add"</c>
120120 /// </remarks>
121121 /// <value>
122- /// Default: <c>true </c>
122+ /// Default: <c>false </c>
123123 /// </value>
124- public bool ProcessNameOfExpression { get ; set ; } = true ;
124+ public bool DisableNameOfProcessing { get ; set ; } = false ;
125125
126126 /// <summary>
127127 /// Make properties enumerable, needed if you want to use JSON.stringify.
0 commit comments