67 lines
2.5 KiB
C#
67 lines
2.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies options for a <see cref="T:System.UriParser" />.</summary>
|
|
// Token: 0x02000077 RID: 119
|
|
[Token(Token = "0x2000077")]
|
|
[Flags]
|
|
public enum GenericUriParserOptions
|
|
{
|
|
/// <summary>The parser:
|
|
///
|
|
/// Requires an authority.
|
|
/// Converts back slashes into forward slashes.
|
|
/// Unescapes path dots, forward slashes, and back slashes.
|
|
/// Removes trailing dots, empty segments, and dots-only segments.</summary>
|
|
// Token: 0x04000137 RID: 311
|
|
[Token(Token = "0x4000137")]
|
|
Default = 0,
|
|
/// <summary>The parser allows a registry-based authority.</summary>
|
|
// Token: 0x04000138 RID: 312
|
|
[Token(Token = "0x4000138")]
|
|
GenericAuthority = 1,
|
|
/// <summary>The parser allows a URI with no authority.</summary>
|
|
// Token: 0x04000139 RID: 313
|
|
[Token(Token = "0x4000139")]
|
|
AllowEmptyAuthority = 2,
|
|
/// <summary>The scheme does not define a user information part.</summary>
|
|
// Token: 0x0400013A RID: 314
|
|
[Token(Token = "0x400013A")]
|
|
NoUserInfo = 4,
|
|
/// <summary>The scheme does not define a port.</summary>
|
|
// Token: 0x0400013B RID: 315
|
|
[Token(Token = "0x400013B")]
|
|
NoPort = 8,
|
|
/// <summary>The scheme does not define a query part.</summary>
|
|
// Token: 0x0400013C RID: 316
|
|
[Token(Token = "0x400013C")]
|
|
NoQuery = 16,
|
|
/// <summary>The scheme does not define a fragment part.</summary>
|
|
// Token: 0x0400013D RID: 317
|
|
[Token(Token = "0x400013D")]
|
|
NoFragment = 32,
|
|
/// <summary>The parser does not convert back slashes into forward slashes.</summary>
|
|
// Token: 0x0400013E RID: 318
|
|
[Token(Token = "0x400013E")]
|
|
DontConvertPathBackslashes = 64,
|
|
/// <summary>The parser does not canonicalize the URI.</summary>
|
|
// Token: 0x0400013F RID: 319
|
|
[Token(Token = "0x400013F")]
|
|
DontCompressPath = 128,
|
|
/// <summary>The parser does not unescape path dots, forward slashes, or back slashes.</summary>
|
|
// Token: 0x04000140 RID: 320
|
|
[Token(Token = "0x4000140")]
|
|
DontUnescapePathDotsAndSlashes = 256,
|
|
/// <summary>The parser supports Internationalized Domain Name (IDN) parsing (IDN) of host names. Whether IDN is used is dictated by configuration values.</summary>
|
|
// Token: 0x04000141 RID: 321
|
|
[Token(Token = "0x4000141")]
|
|
Idn = 512,
|
|
/// <summary>The parser supports the parsing rules specified in RFC 3987 for International Resource Identifiers (IRI). Whether IRI is used is dictated by configuration values.</summary>
|
|
// Token: 0x04000142 RID: 322
|
|
[Token(Token = "0x4000142")]
|
|
IriParsing = 1024
|
|
}
|
|
}
|