using System;
namespace System.Text.RegularExpressions
{
/// Provides information about a regular expression that is used to compile a regular expression to a stand-alone assembly.
// Token: 0x020002B4 RID: 692
[Serializable]
public class RegexCompilationInfo
{
/// Initializes a new instance of the class that contains information about a regular expression to be included in an assembly.
/// The regular expression to compile.
/// The regular expression options to use when compiling the regular expression.
/// The name of the type that represents the compiled regular expression.
/// The namespace to which the new type belongs.
/// true to make the compiled regular expression publicly visible; otherwise, false.
// Token: 0x06001966 RID: 6502 RVA: 0x00056AB0 File Offset: 0x00054CB0
public RegexCompilationInfo(string pattern, RegexOptions options, string name, string fullnamespace, bool ispublic)
{
this.Pattern = pattern;
this.Options = options;
this.Name = name;
this.Namespace = fullnamespace;
this.IsPublic = ispublic;
}
/// Gets or sets a value that indicates whether the compiled regular expression has public visibility.
/// true if the regular expression has public visibility; otherwise, false.
// Token: 0x170007EE RID: 2030
// (get) Token: 0x06001967 RID: 6503 RVA: 0x00056AE8 File Offset: 0x00054CE8
// (set) Token: 0x06001968 RID: 6504 RVA: 0x00056AF0 File Offset: 0x00054CF0
public bool IsPublic
{
get
{
return this.isPublic;
}
set
{
this.isPublic = value;
}
}
/// Gets or sets the name of the type that represents the compiled regular expression.
/// The name of the new type.
/// The value for this property is null.
/// The value for this property is an empty string.
// Token: 0x170007EF RID: 2031
// (get) Token: 0x06001969 RID: 6505 RVA: 0x00056AFC File Offset: 0x00054CFC
// (set) Token: 0x0600196A RID: 6506 RVA: 0x00056B04 File Offset: 0x00054D04
public string Name
{
get
{
return this.name;
}
set
{
if (value == null)
{
throw new ArgumentNullException("Name");
}
if (value.Length == 0)
{
throw new ArgumentException("Name");
}
this.name = value;
}
}
/// Gets or sets the namespace to which the new type belongs.
/// The namespace of the new type.
/// The value for this property is null.
// Token: 0x170007F0 RID: 2032
// (get) Token: 0x0600196B RID: 6507 RVA: 0x00056B40 File Offset: 0x00054D40
// (set) Token: 0x0600196C RID: 6508 RVA: 0x00056B48 File Offset: 0x00054D48
public string Namespace
{
get
{
return this.nspace;
}
set
{
if (value == null)
{
throw new ArgumentNullException("Namespace");
}
this.nspace = value;
}
}
/// Gets or sets the options to use when compiling the regular expression.
/// A bitwise combination of the enumeration values.
// Token: 0x170007F1 RID: 2033
// (get) Token: 0x0600196D RID: 6509 RVA: 0x00056B64 File Offset: 0x00054D64
// (set) Token: 0x0600196E RID: 6510 RVA: 0x00056B6C File Offset: 0x00054D6C
public RegexOptions Options
{
get
{
return this.options;
}
set
{
this.options = value;
}
}
/// Gets or sets the regular expression to compile.
/// The regular expression to compile.
/// The value for this property is null.
// Token: 0x170007F2 RID: 2034
// (get) Token: 0x0600196F RID: 6511 RVA: 0x00056B78 File Offset: 0x00054D78
// (set) Token: 0x06001970 RID: 6512 RVA: 0x00056B80 File Offset: 0x00054D80
public string Pattern
{
get
{
return this.pattern;
}
set
{
if (value == null)
{
throw new ArgumentNullException("pattern");
}
this.pattern = value;
}
}
// Token: 0x040013E3 RID: 5091
private string pattern;
// Token: 0x040013E4 RID: 5092
private string name;
// Token: 0x040013E5 RID: 5093
private string nspace;
// Token: 0x040013E6 RID: 5094
private RegexOptions options;
// Token: 0x040013E7 RID: 5095
private bool isPublic;
}
}