You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,11 @@
11
11
#### Removed
12
12
-->
13
13
14
+
### [2.3.0]
15
+
#### Changed
16
+
* Parameter names on `PreFillCustom(string text, int maxLength, string stringValue = " ")` changed into `PreFillCustom(string context, int maxLength, string text = " ")`[#41](https://github.com/meokullu/PreFill/issues/40)
17
+
* Parameter names on `PreFillCustom(string text, int maxLength, char charValue = ' ')` changed into `PreFillCustom(string context, int maxLength, char text = ' ')`[#41](https://github.com/meokullu/PreFill/issues/40)
See changelog (https://github.com/meokullu/PreFill/blob/master/CHANGELOG.md)
22
-
</PackageReleaseNotes>
19
+
v2.3.0
20
+
* Parameter names changed on `PreFillCustom(string text, int maxLength, string stringValue = " ")` and `PreFillCustom(string text, int maxLength, char charValue = ' ')`. First parameter named as context and third value names and text. [#41](https://github.com/meokullu/PreFill/issues/40)
21
+
See changelog (https://github.com/meokullu/PreFill/blob/master/CHANGELOG.md)
Copy file name to clipboardExpand all lines: PreFill/src/PreFill.cs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -136,33 +136,33 @@ public static string PreFillCustom(long number, int maxDigit, char text = ' ')
136
136
/// <summary>
137
137
/// Calculates length of given text then creates string with prefilling value of specified character before given numtextber on limit of maximum length.
138
138
/// </summary>
139
-
/// <param name="text">A text whose prefill value to be found.</param>
139
+
/// <param name="context">A text whose prefill value to be found.</param>
140
140
/// <param name="maxLength">Maximum length of context including specified number and prefilling.</param>
141
-
/// <param name="stringValue">Specified text whose will be used for prefilling.</param>
141
+
/// <param name="text">Specified text whose will be used for prefilling.</param>
142
142
/// <returns>Returns prefill value for specified text.</returns>
// Calling FillString method to get prefilling value.
149
-
returnFillString(textLength,stringValue);
149
+
returnFillString(textLength,text);
150
150
}
151
151
152
152
/// <summary>
153
153
/// Calculates length of given text then creates string with prefilling value of specified character before given numtextber on limit of maximum length.
154
154
/// </summary>
155
-
/// <param name="text">A text whose prefill value to be found.</param>
155
+
/// <param name="context">A text whose prefill value to be found.</param>
156
156
/// <param name="maxLength">Maximum length of context including specified number and prefilling.</param>
157
-
/// <param name="charValue">Specified character whose will be used for prefilling.</param>
157
+
/// <param name="text">Specified character whose will be used for prefilling.</param>
158
158
/// <returns>Returns prefill value for specified text.</returns>
0 commit comments