Repository navigation
Expand file tree
/
Copy pathStringModule.xml
More file actions
401 lines (401 loc) · 15.8 KB
/
Copy pathStringModule.xml
File metadata and controls
401 lines (401 loc) · 15.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<?xml version="1.0"?>
<doc>
<assembly>
<name>StringModule</name>
</assembly>
<members>
<member name="T:StringModule.Case">
<summary>
The different string casings
</summary>
</member>
<member name="F:StringModule.Case.Unspecified">
<summary>
No case preference was specified
</summary>
</member>
<member name="F:StringModule.Case.Upper">
<summary>
All letters should be converted to uppercase
</summary>
</member>
<member name="F:StringModule.Case.Lower">
<summary>
All letters should be converted to lowercase
</summary>
</member>
<member name="F:StringModule.Case.Title">
<summary>
Only the first letter of a word should be uppercase
</summary>
</member>
<member name="T:StringModule.Commands.AddStringCommand">
<summary>
Implementation of the Add-String command
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.PadLeft">
<summary>
The character to pad the input string with on the left side
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.PadRight">
<summary>
The character to pad the input string with on the right side
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.PadWidth">
<summary>
To what total string width to pad
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.Before">
<summary>
The string to add before the input
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.Behind">
<summary>
The string to add behind the input
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.PropertyName">
<summary>
The property of the input to add things to. By default, the entire object is used instead.
</summary>
</member>
<member name="F:StringModule.Commands.AddStringCommand.InputString">
<summary>
The string to add to
</summary>
</member>
<member name="M:StringModule.Commands.AddStringCommand.BeginProcessing">
<summary>
Prepares some simple vlidation
</summary>
</member>
<member name="M:StringModule.Commands.AddStringCommand.ProcessRecord">
<summary>
Process each string as it is passed through.
</summary>
</member>
<member name="T:StringModule.Commands.CompressStringCommand">
<summary>
Implementation of the Compress-String command
</summary>
</member>
<member name="F:StringModule.Commands.CompressStringCommand.Encoding">
<summary>
The encoding to use for converting the string to bytes before compression.
</summary>
</member>
<member name="F:StringModule.Commands.CompressStringCommand.AsBytes">
<summary>
Return the compressed string as byte-array.
By default, the compressed string will be returned as Base64 string.
</summary>
</member>
<member name="F:StringModule.Commands.CompressStringCommand.InputString">
<summary>
The text to compress.
</summary>
</member>
<member name="T:StringModule.Commands.ExpandStringCommand">
<summary>
Implementation of the Expand-String command
</summary>
</member>
<member name="F:StringModule.Commands.ExpandStringCommand.Encoding">
<summary>
The encoding to use for converting the bytes to string after decompression.
</summary>
</member>
<member name="F:StringModule.Commands.ExpandStringCommand.InputString">
<summary>
The text to decompress.
Expects base64-encoded bytes that are the result of previous string compression.
</summary>
</member>
<member name="F:StringModule.Commands.ExpandStringCommand.Bytes">
<summary>
The bytes of the text to decompress.
</summary>
</member>
<member name="M:StringModule.Commands.ExpandStringCommand.BeginProcessing">
<summary>
Prepares the execution, resolving the encoding to use.
</summary>
</member>
<member name="M:StringModule.Commands.ExpandStringCommand.ProcessRecord">
<summary>
Expand the provided bytes / strings.
</summary>
</member>
<member name="T:StringModule.Commands.FormatStringCommand">
<summary>
Implementation of the Format-String command
</summary>
</member>
<member name="F:StringModule.Commands.FormatStringCommand.Format">
<summary>
The formatting string to use to format the input with
</summary>
</member>
<member name="F:StringModule.Commands.FormatStringCommand.Count">
<summary>
The number of items to format in bulk
</summary>
</member>
<member name="F:StringModule.Commands.FormatStringCommand.Property">
<summary>
The property to select
</summary>
</member>
<member name="F:StringModule.Commands.FormatStringCommand.InputObject">
<summary>
Object(s) to format
</summary>
</member>
<member name="P:StringModule.Commands.FormatStringCommand.ItemCache">
<summary>
The property where cached items for bulk formatting are stored
</summary>
</member>
<member name="M:StringModule.Commands.FormatStringCommand.ProcessRecord">
<summary>
Processes each item for formatting
</summary>
</member>
<member name="M:StringModule.Commands.FormatStringCommand.EndProcessing">
<summary>
Flushes the final objects if present
</summary>
</member>
<member name="T:StringModule.Commands.JoinStringCommand">
<summary>
Join-Object implementation.
</summary>
</member>
<member name="F:StringModule.Commands.JoinStringCommand.DefaultOutputStringCapacity">
<summary>A bigger default to not get re-allocations in common use cases.</summary>
</member>
<member name="P:StringModule.Commands.JoinStringCommand.Property">
<summary>
Gets or sets the property name or script block to use as the value to join.
</summary>
</member>
<member name="F:StringModule.Commands.JoinStringCommand.Separator">
<summary>
Gets or sets the delimiter to join the output with.
</summary>
</member>
<member name="F:StringModule.Commands.JoinStringCommand.Count">
<summary>
How many items to combine before starting a new string
</summary>
</member>
<member name="P:StringModule.Commands.JoinStringCommand.InputObject">
<summary>
Gets or sets the input object to join into text.
</summary>
</member>
<member name="M:StringModule.Commands.JoinStringCommand.ProcessRecord">
<inheritdoc />
</member>
<member name="M:StringModule.Commands.JoinStringCommand.EndProcessing">
<inheritdoc />
</member>
<member name="T:StringModule.Commands.SetStringCommand">
<summary>
Implements the Set-String command
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.OldValue">
<summary>
What to replace
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.NewValue">
<summary>
What to replace with
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.DoNotUseRegex">
<summary>
Whether the simple string Replace() method should be used instead
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.Options">
<summary>
The regex options to apply while replacing
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.Case">
<summary>
What case should be applied
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.InputFile">
<summary>
The files to replace in
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.InputString">
<summary>
The strings to update
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.Force">
<summary>
Ignore file extension blacklist
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.StringValue">
<summary>
Stores the string value of the With parameter, if applicable.
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.ScriptBlockValue">
<summary>
Stores the scriptblock value of the With parameter, if applicable.
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand.ScriptBlockEvaluator">
<summary>
Evaluates the replace match.
</summary>
</member>
<member name="F:StringModule.Commands.SetStringCommand._DoInvokeReturnAsIs">
<summary>
The reflected method needed to invoke in a consistent manner
</summary>
</member>
<member name="M:StringModule.Commands.SetStringCommand.BeginProcessing">
<summary>
Handles the input conversion on the What parameter
</summary>
</member>
<member name="M:StringModule.Commands.SetStringCommand.ProcessRecord">
<summary>
Processes each input item
</summary>
</member>
<member name="M:StringModule.Commands.SetStringCommand.Transform(System.String)">
<summary>
Centralizes the input conversion, respecting the parameters specified
</summary>
<param name="Value">The value to convert</param>
<returns>The converted value</returns>
</member>
<member name="M:StringModule.Commands.SetStringCommand.GetFileEncoding(System.String)">
<summary>
Returns the assumeed encoding of the file specified, defaults to UTF8.
</summary>
<param name="Path">Path to the file to inspect</param>
<returns>The encoding (UTF8 if not otherwise identified)</returns>
</member>
<member name="M:StringModule.Commands.SetStringCommand.IsUnsupported(System.String)">
<summary>
Checks whether the extension is blacklisted from string-replacement
</summary>
<param name="Extension">The extension to verify</param>
<returns>Blacklisted or not</returns>
</member>
<member name="T:StringModule.Commands.SplitStringCommand">
<summary>
Implements the Split-String command
</summary>
</member>
<member name="F:StringModule.Commands.SplitStringCommand.Separator">
<summary>
What to split by
</summary>
</member>
<member name="F:StringModule.Commands.SplitStringCommand.DoNotUseRegex">
<summary>
Whether the simple string Replace() method should be used instead
</summary>
</member>
<member name="F:StringModule.Commands.SplitStringCommand.Options">
<summary>
The regex options to apply while replacing
</summary>
</member>
<member name="F:StringModule.Commands.SplitStringCommand.Count">
<summary>
The maximum number of items to split into.
</summary>
</member>
<member name="F:StringModule.Commands.SplitStringCommand.InputString">
<summary>
The strings to update
</summary>
</member>
<member name="M:StringModule.Commands.SplitStringCommand.ProcessRecord">
<summary>
Processes the items to split
</summary>
</member>
<member name="T:StringModule.Compression">
<summary>
String compression tooling
</summary>
</member>
<member name="M:StringModule.Compression.CompressString(System.String,System.Text.Encoding)">
<summary>
Compress string using default zip algorithms
</summary>
<param name="String">The string to compress</param>
<param name="Encoding">The encoding to use to convert between string and bytes</param>
<returns>Returns a compressed string as byte-array.</returns>
</member>
<member name="M:StringModule.Compression.ExpandString(System.Byte[],System.Text.Encoding)">
<summary>
Expand a string using default zig algorithms
</summary>
<param name="CompressedString">The compressed string to expand</param>
/// <param name="Encoding">The encoding to use to convert between string and bytes</param>
<returns>Returns an expanded string.</returns>
</member>
<member name="T:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand">
<summary>
Implements Get-SubString command
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.Trim">
<summary>
What string to trim with
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.TrimStart">
<summary>
What string to trim the start with
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.TrimEnd">
<summary>
What string to trim the end with
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.Start">
<summary>
Where to start taking a substring
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.Length">
<summary>
How long the picked substring should be
</summary>
</member>
<member name="F:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.InputString">
<summary>
The strings to process
</summary>
</member>
<member name="M:Microsoft.PowerShell.Commands.Utility.commands.utility.GetSubStringCommand.ProcessRecord">
<summary>
Processes the individual items that were input
</summary>
</member>
</members>
</doc>