Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Verbs
string
[] System.Diagnostics.ProcessStartInfo.Verbs
get
Definition at line
199
of file
ProcessStartInfo.cs
.
200
{
201
get
202
{
203
string
extension
=
Path
.
GetExtension
(
FileName
);
204
if
(
string
.IsNullOrEmpty(
extension
))
205
{
206
return
Array
.Empty<
string
>();
207
}
208
using
RegistryKey
registryKey
= Registry.ClassesRoot.OpenSubKey(
extension
);
209
if
(
registryKey
==
null
)
210
{
211
return
Array
.Empty<
string
>();
212
}
213
string
text
=
registryKey
.GetValue(
string
.
Empty
)
as
string
;
214
if
(
string
.IsNullOrEmpty(
text
))
215
{
216
return
Array
.Empty<
string
>();
217
}
218
using
RegistryKey
registryKey2
= Registry.ClassesRoot.OpenSubKey(
text
+
"\\shell"
);
219
if
(
registryKey2
==
null
)
220
{
221
return
Array
.Empty<
string
>();
222
}
223
string
[]
subKeyNames
=
registryKey2
.GetSubKeyNames();
224
List<string>
list
=
new
List<string>
();
225
string
[]
array
=
subKeyNames
;
226
foreach
(
string
text2
in
array
)
227
{
228
if
(!
string
.
Equals
(
text2
,
"new"
,
StringComparison
.OrdinalIgnoreCase))
229
{
230
list
.
Add
(
text2
);
231
}
232
}
233
return
list
.ToArray();
234
}
235
}
System.Collections.Generic.Dictionary.Add
void Add(TKey key, TValue value)
Definition
Dictionary.cs:873
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Diagnostics.ProcessStartInfo.FileName
string FileName
Definition
ProcessStartInfo.cs:101
System.IO.Path.GetExtension
static ? string GetExtension(string? path)
Definition
Path.cs:168
System.IO.Path
Definition
Path.cs:8
string
System.Net.CookieToken.Equals
@ Equals
System.Reflection.CustomAttributeEncoding.Array
@ Array
System.TypeCode.Empty
@ Empty
System.ExceptionArgument.list
@ list
System.ExceptionArgument.text
@ text
System.ExceptionArgument.array
@ array
System.StringComparison
StringComparison
Definition
StringComparison.cs:4
System
Diagnostics
ProcessStartInfo
Generated by
1.10.0