48 lines
2.0 KiB
C#
48 lines
2.0 KiB
C#
using System;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies options for a <see cref="T:System.UriParser" />.</summary>
|
|
// Token: 0x020002F5 RID: 757
|
|
[Flags]
|
|
public enum GenericUriParserOptions
|
|
{
|
|
/// <summary>The parser:</summary>
|
|
// Token: 0x040015DA RID: 5594
|
|
Default = 0,
|
|
/// <summary>The parser allows a registry-based authority.</summary>
|
|
// Token: 0x040015DB RID: 5595
|
|
GenericAuthority = 1,
|
|
/// <summary>The parser allows a URI with no authority.</summary>
|
|
// Token: 0x040015DC RID: 5596
|
|
AllowEmptyAuthority = 2,
|
|
/// <summary>The scheme does not define a user information part.</summary>
|
|
// Token: 0x040015DD RID: 5597
|
|
NoUserInfo = 4,
|
|
/// <summary>The scheme does not define a port.</summary>
|
|
// Token: 0x040015DE RID: 5598
|
|
NoPort = 8,
|
|
/// <summary>The scheme does not define a query part.</summary>
|
|
// Token: 0x040015DF RID: 5599
|
|
NoQuery = 16,
|
|
/// <summary>The scheme does not define a fragment part.</summary>
|
|
// Token: 0x040015E0 RID: 5600
|
|
NoFragment = 32,
|
|
/// <summary>The parser does not convert back slashes into forward slashes.</summary>
|
|
// Token: 0x040015E1 RID: 5601
|
|
DontConvertPathBackslashes = 64,
|
|
/// <summary>The parser does not canonicalize the URI.</summary>
|
|
// Token: 0x040015E2 RID: 5602
|
|
DontCompressPath = 128,
|
|
/// <summary>The parser does not unescape path dots, forward slashes, or back slashes.</summary>
|
|
// Token: 0x040015E3 RID: 5603
|
|
DontUnescapePathDotsAndSlashes = 256,
|
|
/// <summary>The parser supports Internationalized Domain Name (IDN) parsing (IDN) of host names. Whether IDN is used is dictated by configuration values. See the Remarks for more information.</summary>
|
|
// Token: 0x040015E4 RID: 5604
|
|
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. See the Remarks for more information.</summary>
|
|
// Token: 0x040015E5 RID: 5605
|
|
IriParsing = 1024
|
|
}
|
|
}
|