scripts
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace System.Net
|
||||
{
|
||||
// Token: 0x0200026A RID: 618
|
||||
internal class WebPermissionInfo
|
||||
{
|
||||
// Token: 0x060016C9 RID: 5833 RVA: 0x0004CBC0 File Offset: 0x0004ADC0
|
||||
public WebPermissionInfo(WebPermissionInfoType type, string info)
|
||||
{
|
||||
this._type = type;
|
||||
this._info = info;
|
||||
}
|
||||
|
||||
// Token: 0x060016CA RID: 5834 RVA: 0x0004CBD8 File Offset: 0x0004ADD8
|
||||
public WebPermissionInfo(global::System.Text.RegularExpressions.Regex regex)
|
||||
{
|
||||
this._type = WebPermissionInfoType.InfoRegex;
|
||||
this._info = regex;
|
||||
}
|
||||
|
||||
// Token: 0x17000747 RID: 1863
|
||||
// (get) Token: 0x060016CB RID: 5835 RVA: 0x0004CBF0 File Offset: 0x0004ADF0
|
||||
public string Info
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this._type == WebPermissionInfoType.InfoRegex)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return (string)this._info;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04001277 RID: 4727
|
||||
private WebPermissionInfoType _type;
|
||||
|
||||
// Token: 0x04001278 RID: 4728
|
||||
private object _info;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user