This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,16 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Provides access to the XML Schema definition language (XSD) of a SOAP type.</summary>
// Token: 0x02000409 RID: 1033
[ComVisible(true)]
public interface ISoapXsd
{
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x0600283E RID: 10302
string GetXsdType();
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD anyURI type.</summary>
// Token: 0x0200040A RID: 1034
[ComVisible(true)]
[Serializable]
public sealed class SoapAnyUri : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri" /> class.</summary>
// Token: 0x0600283F RID: 10303 RVA: 0x00083B20 File Offset: 0x00081D20
public SoapAnyUri()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri" /> class with the specified URI.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains a URI. </param>
// Token: 0x06002840 RID: 10304 RVA: 0x00083B28 File Offset: 0x00081D28
public SoapAnyUri(string value)
{
this._value = value;
}
/// <summary>Gets or sets a URI.</summary>
/// <returns>A <see cref="T:System.String" /> that contains a URI.</returns>
// Token: 0x170007E8 RID: 2024
// (get) Token: 0x06002841 RID: 10305 RVA: 0x00083B38 File Offset: 0x00081D38
// (set) Token: 0x06002842 RID: 10306 RVA: 0x00083B40 File Offset: 0x00081D40
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007E9 RID: 2025
// (get) Token: 0x06002843 RID: 10307 RVA: 0x00083B4C File Offset: 0x00081D4C
public static string XsdType
{
get
{
return "anyUri";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002844 RID: 10308 RVA: 0x00083B54 File Offset: 0x00081D54
public string GetXsdType()
{
return SoapAnyUri.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
// Token: 0x06002845 RID: 10309 RVA: 0x00083B5C File Offset: 0x00081D5C
public static SoapAnyUri Parse(string value)
{
return new SoapAnyUri(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapAnyUri.Value" />.</returns>
// Token: 0x06002846 RID: 10310 RVA: 0x00083B64 File Offset: 0x00081D64
public override string ToString()
{
return this._value;
}
// Token: 0x04000FA6 RID: 4006
private string _value;
}
}
@@ -0,0 +1,84 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD base64Binary type. </summary>
// Token: 0x0200040B RID: 1035
[ComVisible(true)]
[Serializable]
public sealed class SoapBase64Binary : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary" /> class.</summary>
// Token: 0x06002847 RID: 10311 RVA: 0x00083B6C File Offset: 0x00081D6C
public SoapBase64Binary()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary" /> class with the binary representation of a 64-bit number.</summary>
/// <param name="value">A <see cref="T:System.Byte" /> array that contains a 64-bit number. </param>
// Token: 0x06002848 RID: 10312 RVA: 0x00083B74 File Offset: 0x00081D74
public SoapBase64Binary(byte[] value)
{
this._value = value;
}
/// <summary>Gets or sets the binary representation of a 64-bit number.</summary>
/// <returns>A <see cref="T:System.Byte" /> array that contains the binary representation of a 64-bit number.</returns>
// Token: 0x170007EA RID: 2026
// (get) Token: 0x06002849 RID: 10313 RVA: 0x00083B84 File Offset: 0x00081D84
// (set) Token: 0x0600284A RID: 10314 RVA: 0x00083B8C File Offset: 0x00081D8C
public byte[] Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007EB RID: 2027
// (get) Token: 0x0600284B RID: 10315 RVA: 0x00083B98 File Offset: 0x00081D98
public static string XsdType
{
get
{
return "base64Binary";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x0600284C RID: 10316 RVA: 0x00083BA0 File Offset: 0x00081DA0
public string GetXsdType()
{
return SoapBase64Binary.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">One of the following:<paramref name="value" /> is null. The length of <paramref name="value" /> is less than 4.The length of <paramref name="value" /> is not a multiple of 4. </exception>
// Token: 0x0600284D RID: 10317 RVA: 0x00083BA8 File Offset: 0x00081DA8
public static SoapBase64Binary Parse(string value)
{
return new SoapBase64Binary(Convert.FromBase64String(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapBase64Binary.Value" />.</returns>
// Token: 0x0600284E RID: 10318 RVA: 0x00083BB8 File Offset: 0x00081DB8
public override string ToString()
{
return Convert.ToBase64String(this._value);
}
// Token: 0x04000FA7 RID: 4007
private byte[] _value;
}
}
@@ -0,0 +1,133 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD date type.</summary>
// Token: 0x0200040C RID: 1036
[ComVisible(true)]
[Serializable]
public sealed class SoapDate : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate" /> class.</summary>
// Token: 0x0600284F RID: 10319 RVA: 0x00083BC8 File Offset: 0x00081DC8
public SoapDate()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x06002850 RID: 10320 RVA: 0x00083BD0 File Offset: 0x00081DD0
public SoapDate(DateTime value)
{
this._value = value;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate" /> class with a specified <see cref="T:System.DateTime" /> object and an integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate.Value" /> is a positive or negative value.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
/// <param name="sign">An integer that indicates whether <paramref name="value" /> is positive. </param>
// Token: 0x06002851 RID: 10321 RVA: 0x00083BE0 File Offset: 0x00081DE0
public SoapDate(DateTime value, int sign)
{
this._value = value;
this._sign = sign;
}
/// <summary>Gets or sets whether the date and time of the current instance is positive or negative.</summary>
/// <returns>An integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate.Value" /> is positive or negative.</returns>
// Token: 0x170007EC RID: 2028
// (get) Token: 0x06002853 RID: 10323 RVA: 0x00083C38 File Offset: 0x00081E38
// (set) Token: 0x06002854 RID: 10324 RVA: 0x00083C40 File Offset: 0x00081E40
public int Sign
{
get
{
return this._sign;
}
set
{
this._sign = value;
}
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x170007ED RID: 2029
// (get) Token: 0x06002855 RID: 10325 RVA: 0x00083C4C File Offset: 0x00081E4C
// (set) Token: 0x06002856 RID: 10326 RVA: 0x00083C54 File Offset: 0x00081E54
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007EE RID: 2030
// (get) Token: 0x06002857 RID: 10327 RVA: 0x00083C60 File Offset: 0x00081E60
public static string XsdType
{
get
{
return "date";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002858 RID: 10328 RVA: 0x00083C68 File Offset: 0x00081E68
public string GetXsdType()
{
return SoapDate.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x06002859 RID: 10329 RVA: 0x00083C70 File Offset: 0x00081E70
public static SoapDate Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapDate._datetimeFormats, null, DateTimeStyles.None);
SoapDate soapDate = new SoapDate(dateTime);
if (value.StartsWith("-"))
{
soapDate.Sign = -1;
}
else
{
soapDate.Sign = 0;
}
return soapDate;
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate.Value" /> in the format "yyyy-MM-dd" or "'-'yyyy-MM-dd" if <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDate.Sign" /> is negative.</returns>
// Token: 0x0600285A RID: 10330 RVA: 0x00083CB8 File Offset: 0x00081EB8
public override string ToString()
{
if (this._sign >= 0)
{
return this._value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture);
}
return this._value.ToString("'-'yyyy-MM-dd", CultureInfo.InvariantCulture);
}
// Token: 0x04000FA8 RID: 4008
private static readonly string[] _datetimeFormats = new string[] { "yyyy-MM-dd", "'+'yyyy-MM-dd", "'-'yyyy-MM-dd", "yyyy-MM-ddzzz", "'+'yyyy-MM-ddzzz", "'-'yyyy-MM-ddzzz" };
// Token: 0x04000FA9 RID: 4009
private int _sign;
// Token: 0x04000FAA RID: 4010
private DateTime _value;
}
}
@@ -0,0 +1,51 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Provides static methods for the serialization and deserialization of <see cref="T:System.DateTime" /> to a string that is formatted as XSD dateTime. </summary>
// Token: 0x0200040D RID: 1037
[ComVisible(true)]
public sealed class SoapDateTime
{
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007EF RID: 2031
// (get) Token: 0x0600285D RID: 10333 RVA: 0x00083DEC File Offset: 0x00081FEC
public static string XsdType
{
get
{
return "dateTime";
}
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.DateTime" /> object.</summary>
/// <returns>A <see cref="T:System.DateTime" /> object obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">One of the following: <paramref name="value" /> is an empty string.<paramref name="value" /> is null reference.<paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x0600285E RID: 10334 RVA: 0x00083DF4 File Offset: 0x00081FF4
public static DateTime Parse(string value)
{
return DateTime.ParseExact(value, SoapDateTime._datetimeFormats, null, DateTimeStyles.None);
}
/// <summary>Returns the specified <see cref="T:System.DateTime" /> object as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> representation of <paramref name="value" /> in the format "yyyy-MM-dd'T'HH:mm:ss.fffffffzzz".</returns>
/// <param name="value">The <see cref="T:System.DateTime" /> object to convert. </param>
// Token: 0x0600285F RID: 10335 RVA: 0x00083E04 File Offset: 0x00082004
public static string ToString(DateTime value)
{
return value.ToString("yyyy-MM-ddTHH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture);
}
// Token: 0x04000FAB RID: 4011
private static readonly string[] _datetimeFormats = new string[]
{
"yyyy-MM-ddTHH:mm:ss", "yyyy-MM-ddTHH:mm:ss.f", "yyyy-MM-ddTHH:mm:ss.ff", "yyyy-MM-ddTHH:mm:ss.fff", "yyyy-MM-ddTHH:mm:ss.ffff", "yyyy-MM-ddTHH:mm:ss.fffff", "yyyy-MM-ddTHH:mm:ss.ffffff", "yyyy-MM-ddTHH:mm:ss.fffffff", "yyyy-MM-ddTHH:mm:sszzz", "yyyy-MM-ddTHH:mm:ss.fzzz",
"yyyy-MM-ddTHH:mm:ss.ffzzz", "yyyy-MM-ddTHH:mm:ss.fffzzz", "yyyy-MM-ddTHH:mm:ss.ffffzzz", "yyyy-MM-ddTHH:mm:ss.fffffzzz", "yyyy-MM-ddTHH:mm:ss.ffffffzzz", "yyyy-MM-ddTHH:mm:ss.fffffffzzz", "yyyy-MM-ddTHH:mm:ssZ", "yyyy-MM-ddTHH:mm:ss.fZ", "yyyy-MM-ddTHH:mm:ss.ffZ", "yyyy-MM-ddTHH:mm:ss.fffZ",
"yyyy-MM-ddTHH:mm:ss.ffffZ", "yyyy-MM-ddTHH:mm:ss.fffffZ", "yyyy-MM-ddTHH:mm:ss.ffffffZ", "yyyy-MM-ddTHH:mm:ss.fffffffZ"
};
}
}
@@ -0,0 +1,90 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD gDay type. </summary>
// Token: 0x0200040E RID: 1038
[ComVisible(true)]
[Serializable]
public sealed class SoapDay : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay" /> class.</summary>
// Token: 0x06002860 RID: 10336 RVA: 0x00083E18 File Offset: 0x00082018
public SoapDay()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x06002861 RID: 10337 RVA: 0x00083E20 File Offset: 0x00082020
public SoapDay(DateTime value)
{
this._value = value;
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x170007F0 RID: 2032
// (get) Token: 0x06002863 RID: 10339 RVA: 0x00083E50 File Offset: 0x00082050
// (set) Token: 0x06002864 RID: 10340 RVA: 0x00083E58 File Offset: 0x00082058
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007F1 RID: 2033
// (get) Token: 0x06002865 RID: 10341 RVA: 0x00083E64 File Offset: 0x00082064
public static string XsdType
{
get
{
return "gDay";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002866 RID: 10342 RVA: 0x00083E6C File Offset: 0x0008206C
public string GetXsdType()
{
return SoapDay.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x06002867 RID: 10343 RVA: 0x00083E74 File Offset: 0x00082074
public static SoapDay Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapDay._datetimeFormats, null, DateTimeStyles.None);
return new SoapDay(dateTime);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay.Value" /> in the format "---dd".</returns>
// Token: 0x06002868 RID: 10344 RVA: 0x00083E98 File Offset: 0x00082098
public override string ToString()
{
return this._value.ToString("---dd", CultureInfo.InvariantCulture);
}
// Token: 0x04000FAC RID: 4012
private static readonly string[] _datetimeFormats = new string[] { "---dd", "---ddzzz" };
// Token: 0x04000FAD RID: 4013
private DateTime _value;
}
}
@@ -0,0 +1,241 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Provides static methods for the serialization and deserialization of <see cref="T:System.TimeSpan" /> to a string that is formatted as XSD duration.</summary>
// Token: 0x0200040F RID: 1039
[ComVisible(true)]
public sealed class SoapDuration
{
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007F2 RID: 2034
// (get) Token: 0x0600286A RID: 10346 RVA: 0x00083EB8 File Offset: 0x000820B8
public static string XsdType
{
get
{
return "duration";
}
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.TimeSpan" /> object.</summary>
/// <returns>A <see cref="T:System.TimeSpan" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x0600286B RID: 10347 RVA: 0x00083EC0 File Offset: 0x000820C0
public static TimeSpan Parse(string value)
{
if (value.Length == 0)
{
throw new ArgumentException("Invalid format string for duration schema datatype.");
}
int num = 0;
if (value[0] == '-')
{
num = 1;
}
bool flag = num == 1;
if (value[num] != 'P')
{
throw new ArgumentException("Invalid format string for duration schema datatype.");
}
num++;
int num2 = 0;
int num3 = 0;
bool flag2 = false;
int num4 = 0;
int num5 = 0;
double num6 = 0.0;
bool flag3 = false;
int i = num;
while (i < value.Length)
{
if (value[i] == 'T')
{
flag2 = true;
num2 = 4;
i++;
num = i;
}
else
{
bool flag4 = true;
int num7 = 0;
while (i < value.Length)
{
if (!char.IsDigit(value[i]))
{
if (value[i] != '.')
{
break;
}
flag4 = false;
num7++;
if (num7 > 1)
{
flag3 = true;
break;
}
}
i++;
}
int num8 = -1;
double num9 = -1.0;
if (flag4)
{
num8 = int.Parse(value.Substring(num, i - num));
}
else
{
num9 = double.Parse(value.Substring(num, i - num), CultureInfo.InvariantCulture);
}
char c = value[i];
if (c != 'D')
{
if (c != 'H')
{
if (c != 'M')
{
if (c != 'S')
{
if (c != 'Y')
{
flag3 = true;
}
else
{
num3 += num8 * 365;
if (num2 > 0 || !flag4)
{
flag3 = true;
}
else
{
num2 = 1;
}
}
}
else
{
if (flag4)
{
num6 = (double)num8;
}
else
{
num6 = num9;
}
if (!flag2 || num2 > 6)
{
flag3 = true;
}
else
{
num2 = 7;
}
}
}
else if (num2 < 2 && flag4)
{
num3 += 365 * (num8 / 12) + 30 * (num8 % 12);
num2 = 2;
}
else if (flag2 && num2 < 6 && flag4)
{
num5 = num8;
num2 = 6;
}
else
{
flag3 = true;
}
}
else
{
num4 = num8;
if (!flag2 || num2 > 4 || !flag4)
{
flag3 = true;
}
else
{
num2 = 5;
}
}
}
else
{
num3 += num8;
if (num2 > 2 || !flag4)
{
flag3 = true;
}
else
{
num2 = 3;
}
}
if (flag3)
{
break;
}
i++;
num = i;
}
}
if (flag3)
{
throw new ArgumentException("Invalid format string for duration schema datatype.");
}
TimeSpan timeSpan = new TimeSpan(num3, num4, num5, 0) + TimeSpan.FromSeconds(num6);
return (!flag) ? timeSpan : (-timeSpan);
}
/// <summary>Returns the specified <see cref="T:System.TimeSpan" /> object as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> representation of <paramref name="timeSpan" /> in the format "PxxYxxDTxxHxxMxx.xxxS" or "PxxYxxDTxxHxxMxxS". The "PxxYxxDTxxHxxMxx.xxxS" is used if <see cref="P:System.TimeSpan.Milliseconds" /> does not equal zero.</returns>
/// <param name="timeSpan">The <see cref="T:System.TimeSpan" /> object to convert. </param>
// Token: 0x0600286C RID: 10348 RVA: 0x000841A0 File Offset: 0x000823A0
public static string ToString(TimeSpan timeSpan)
{
StringBuilder stringBuilder = new StringBuilder();
if (timeSpan.Ticks < 0L)
{
stringBuilder.Append('-');
timeSpan = timeSpan.Negate();
}
stringBuilder.Append('P');
if (timeSpan.Days > 0)
{
stringBuilder.Append(timeSpan.Days).Append('D');
}
if (timeSpan.Days > 0 || timeSpan.Minutes > 0 || timeSpan.Seconds > 0 || timeSpan.Milliseconds > 0)
{
stringBuilder.Append('T');
if (timeSpan.Hours > 0)
{
stringBuilder.Append(timeSpan.Hours).Append('H');
}
if (timeSpan.Minutes > 0)
{
stringBuilder.Append(timeSpan.Minutes).Append('M');
}
if (timeSpan.Seconds > 0 || timeSpan.Milliseconds > 0)
{
double num = (double)timeSpan.Seconds;
if (timeSpan.Milliseconds > 0)
{
num += (double)timeSpan.Milliseconds / 1000.0;
}
stringBuilder.Append(string.Format(CultureInfo.InvariantCulture, "{0:0.0000000}", new object[] { num }));
stringBuilder.Append('S');
}
}
return stringBuilder.ToString();
}
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML ENTITIES attribute.</summary>
// Token: 0x02000410 RID: 1040
[ComVisible(true)]
[Serializable]
public sealed class SoapEntities : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities" /> class.</summary>
// Token: 0x0600286D RID: 10349 RVA: 0x000842F8 File Offset: 0x000824F8
public SoapEntities()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities" /> class with an XML ENTITIES attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML ENTITIES attribute. </param>
// Token: 0x0600286E RID: 10350 RVA: 0x00084300 File Offset: 0x00082500
public SoapEntities(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML ENTITIES attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML ENTITIES attribute.</returns>
// Token: 0x170007F3 RID: 2035
// (get) Token: 0x0600286F RID: 10351 RVA: 0x00084314 File Offset: 0x00082514
// (set) Token: 0x06002870 RID: 10352 RVA: 0x0008431C File Offset: 0x0008251C
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007F4 RID: 2036
// (get) Token: 0x06002871 RID: 10353 RVA: 0x00084328 File Offset: 0x00082528
public static string XsdType
{
get
{
return "ENTITIES";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002872 RID: 10354 RVA: 0x00084330 File Offset: 0x00082530
public string GetXsdType()
{
return SoapEntities.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002873 RID: 10355 RVA: 0x00084338 File Offset: 0x00082538
public static SoapEntities Parse(string value)
{
return new SoapEntities(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities.Value" />.</returns>
// Token: 0x06002874 RID: 10356 RVA: 0x00084340 File Offset: 0x00082540
public override string ToString()
{
return this._value;
}
// Token: 0x04000FAE RID: 4014
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML ENTITY attribute.</summary>
// Token: 0x02000411 RID: 1041
[ComVisible(true)]
[Serializable]
public sealed class SoapEntity : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity" /> class.</summary>
// Token: 0x06002875 RID: 10357 RVA: 0x00084348 File Offset: 0x00082548
public SoapEntity()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity" /> class with an XML ENTITY attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML ENTITY attribute. </param>
// Token: 0x06002876 RID: 10358 RVA: 0x00084350 File Offset: 0x00082550
public SoapEntity(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML ENTITY attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML ENTITY attribute.</returns>
// Token: 0x170007F5 RID: 2037
// (get) Token: 0x06002877 RID: 10359 RVA: 0x00084364 File Offset: 0x00082564
// (set) Token: 0x06002878 RID: 10360 RVA: 0x0008436C File Offset: 0x0008256C
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007F6 RID: 2038
// (get) Token: 0x06002879 RID: 10361 RVA: 0x00084378 File Offset: 0x00082578
public static string XsdType
{
get
{
return "ENTITY";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x0600287A RID: 10362 RVA: 0x00084380 File Offset: 0x00082580
public string GetXsdType()
{
return SoapEntity.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntities" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x0600287B RID: 10363 RVA: 0x00084388 File Offset: 0x00082588
public static SoapEntity Parse(string value)
{
return new SoapEntity(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapEntity.Value" />.</returns>
// Token: 0x0600287C RID: 10364 RVA: 0x00084390 File Offset: 0x00082590
public override string ToString()
{
return this._value;
}
// Token: 0x04000FAF RID: 4015
private string _value;
}
}
@@ -0,0 +1,20 @@
using System;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
// Token: 0x02000412 RID: 1042
internal class SoapHelper
{
// Token: 0x0600287E RID: 10366 RVA: 0x000843A0 File Offset: 0x000825A0
public static Exception GetException(ISoapXsd type, string msg)
{
return new RemotingException("Soap Parse error, xsd:type xsd:" + type.GetXsdType() + " " + msg);
}
// Token: 0x0600287F RID: 10367 RVA: 0x000843C0 File Offset: 0x000825C0
public static string Normalize(string s)
{
return s;
}
}
}
@@ -0,0 +1,144 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD hexBinary type.</summary>
// Token: 0x02000413 RID: 1043
[ComVisible(true)]
[Serializable]
public sealed class SoapHexBinary : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary" /> class.</summary>
// Token: 0x06002880 RID: 10368 RVA: 0x000843C4 File Offset: 0x000825C4
public SoapHexBinary()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary" /> class.</summary>
/// <param name="value">A <see cref="T:System.Byte" /> array that contains a hexadecimal number. </param>
// Token: 0x06002881 RID: 10369 RVA: 0x000843D8 File Offset: 0x000825D8
public SoapHexBinary(byte[] value)
{
this._value = value;
}
/// <summary>Gets or sets the hexadecimal representation of a number.</summary>
/// <returns>A <see cref="T:System.Byte" /> array containing the hexadecimal representation of a number.</returns>
// Token: 0x170007F7 RID: 2039
// (get) Token: 0x06002882 RID: 10370 RVA: 0x000843F4 File Offset: 0x000825F4
// (set) Token: 0x06002883 RID: 10371 RVA: 0x000843FC File Offset: 0x000825FC
public byte[] Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> indicating the XSD of the current SOAP type.</returns>
// Token: 0x170007F8 RID: 2040
// (get) Token: 0x06002884 RID: 10372 RVA: 0x00084408 File Offset: 0x00082608
public static string XsdType
{
get
{
return "hexBinary";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002885 RID: 10373 RVA: 0x00084410 File Offset: 0x00082610
public string GetXsdType()
{
return SoapHexBinary.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002886 RID: 10374 RVA: 0x00084418 File Offset: 0x00082618
public static SoapHexBinary Parse(string value)
{
byte[] array = SoapHexBinary.FromBinHexString(value);
return new SoapHexBinary(array);
}
// Token: 0x06002887 RID: 10375 RVA: 0x00084434 File Offset: 0x00082634
internal static byte[] FromBinHexString(string value)
{
char[] array = value.ToCharArray();
byte[] array2 = new byte[array.Length / 2 + array.Length % 2];
int num = array.Length;
if (num % 2 != 0)
{
throw SoapHexBinary.CreateInvalidValueException(value);
}
int num2 = 0;
for (int i = 0; i < num - 1; i += 2)
{
array2[num2] = SoapHexBinary.FromHex(array[i], value);
byte[] array3 = array2;
int num3 = num2;
array3[num3] = (byte)(array3[num3] << 4);
byte[] array4 = array2;
int num4 = num2;
array4[num4] += SoapHexBinary.FromHex(array[i + 1], value);
num2++;
}
return array2;
}
// Token: 0x06002888 RID: 10376 RVA: 0x000844C0 File Offset: 0x000826C0
private static byte FromHex(char hexDigit, string value)
{
byte b;
try
{
b = byte.Parse(hexDigit.ToString(), NumberStyles.HexNumber, CultureInfo.InvariantCulture);
}
catch (FormatException)
{
throw SoapHexBinary.CreateInvalidValueException(value);
}
return b;
}
// Token: 0x06002889 RID: 10377 RVA: 0x00084518 File Offset: 0x00082718
private static Exception CreateInvalidValueException(string value)
{
return new RemotingException(string.Format(CultureInfo.InvariantCulture, "Invalid value '{0}' for xsd:{1}.", new object[]
{
value,
SoapHexBinary.XsdType
}));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapHexBinary.Value" />.</returns>
// Token: 0x0600288A RID: 10378 RVA: 0x0008454C File Offset: 0x0008274C
public override string ToString()
{
this.sb.Length = 0;
foreach (byte b in this._value)
{
this.sb.Append(b.ToString("X2"));
}
return this.sb.ToString();
}
// Token: 0x04000FB0 RID: 4016
private byte[] _value;
// Token: 0x04000FB1 RID: 4017
private StringBuilder sb = new StringBuilder();
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML ID attribute.</summary>
// Token: 0x02000414 RID: 1044
[ComVisible(true)]
[Serializable]
public sealed class SoapId : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId" /> class.</summary>
// Token: 0x0600288B RID: 10379 RVA: 0x000845A8 File Offset: 0x000827A8
public SoapId()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId" /> class with an XML ID attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML ID attribute. </param>
// Token: 0x0600288C RID: 10380 RVA: 0x000845B0 File Offset: 0x000827B0
public SoapId(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML ID attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML ID attribute.</returns>
// Token: 0x170007F9 RID: 2041
// (get) Token: 0x0600288D RID: 10381 RVA: 0x000845C4 File Offset: 0x000827C4
// (set) Token: 0x0600288E RID: 10382 RVA: 0x000845CC File Offset: 0x000827CC
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007FA RID: 2042
// (get) Token: 0x0600288F RID: 10383 RVA: 0x000845D8 File Offset: 0x000827D8
public static string XsdType
{
get
{
return "ID";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002890 RID: 10384 RVA: 0x000845E0 File Offset: 0x000827E0
public string GetXsdType()
{
return SoapId.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002891 RID: 10385 RVA: 0x000845E8 File Offset: 0x000827E8
public static SoapId Parse(string value)
{
return new SoapId(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapId.Value" />.</returns>
// Token: 0x06002892 RID: 10386 RVA: 0x000845F0 File Offset: 0x000827F0
public override string ToString()
{
return this._value;
}
// Token: 0x04000FB2 RID: 4018
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML IDREFS attribute.</summary>
// Token: 0x02000415 RID: 1045
[ComVisible(true)]
[Serializable]
public sealed class SoapIdref : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref" /> class.</summary>
// Token: 0x06002893 RID: 10387 RVA: 0x000845F8 File Offset: 0x000827F8
public SoapIdref()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref" /> class with an XML IDREF attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML IDREF attribute. </param>
// Token: 0x06002894 RID: 10388 RVA: 0x00084600 File Offset: 0x00082800
public SoapIdref(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML IDREF attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML IDREF attribute.</returns>
// Token: 0x170007FB RID: 2043
// (get) Token: 0x06002895 RID: 10389 RVA: 0x00084614 File Offset: 0x00082814
// (set) Token: 0x06002896 RID: 10390 RVA: 0x0008461C File Offset: 0x0008281C
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007FC RID: 2044
// (get) Token: 0x06002897 RID: 10391 RVA: 0x00084628 File Offset: 0x00082828
public static string XsdType
{
get
{
return "IDREF";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002898 RID: 10392 RVA: 0x00084630 File Offset: 0x00082830
public string GetXsdType()
{
return SoapIdref.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs" /> object.</summary>
/// <returns>A <see cref="T:System.String" /> obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002899 RID: 10393 RVA: 0x00084638 File Offset: 0x00082838
public static SoapIdref Parse(string value)
{
return new SoapIdref(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdref.Value" />.</returns>
// Token: 0x0600289A RID: 10394 RVA: 0x00084640 File Offset: 0x00082840
public override string ToString()
{
return this._value;
}
// Token: 0x04000FB3 RID: 4019
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML IDREFS attribute.</summary>
// Token: 0x02000416 RID: 1046
[ComVisible(true)]
[Serializable]
public sealed class SoapIdrefs : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs" /> class.</summary>
// Token: 0x0600289B RID: 10395 RVA: 0x00084648 File Offset: 0x00082848
public SoapIdrefs()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs" /> class with an XML IDREFS attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML IDREFS attribute. </param>
// Token: 0x0600289C RID: 10396 RVA: 0x00084650 File Offset: 0x00082850
public SoapIdrefs(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML IDREFS attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML IDREFS attribute.</returns>
// Token: 0x170007FD RID: 2045
// (get) Token: 0x0600289D RID: 10397 RVA: 0x00084664 File Offset: 0x00082864
// (set) Token: 0x0600289E RID: 10398 RVA: 0x0008466C File Offset: 0x0008286C
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x170007FE RID: 2046
// (get) Token: 0x0600289F RID: 10399 RVA: 0x00084678 File Offset: 0x00082878
public static string XsdType
{
get
{
return "IDREFS";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028A0 RID: 10400 RVA: 0x00084680 File Offset: 0x00082880
public string GetXsdType()
{
return SoapIdrefs.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs" /> object.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028A1 RID: 10401 RVA: 0x00084688 File Offset: 0x00082888
public static SoapIdrefs Parse(string value)
{
return new SoapIdrefs(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapIdrefs.Value" />.</returns>
// Token: 0x060028A2 RID: 10402 RVA: 0x00084690 File Offset: 0x00082890
public override string ToString()
{
return this._value;
}
// Token: 0x04000FB4 RID: 4020
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD integer type.</summary>
// Token: 0x02000417 RID: 1047
[ComVisible(true)]
[Serializable]
public sealed class SoapInteger : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger" /> class.</summary>
// Token: 0x060028A3 RID: 10403 RVA: 0x00084698 File Offset: 0x00082898
public SoapInteger()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger" /> class with a <see cref="T:System.Decimal" /> value.</summary>
/// <param name="value">A <see cref="T:System.Decimal" /> value to initialize the current instance. </param>
// Token: 0x060028A4 RID: 10404 RVA: 0x000846A0 File Offset: 0x000828A0
public SoapInteger(decimal value)
{
this._value = value;
}
/// <summary>Gets or sets the numeric value of the current instance.</summary>
/// <returns>A <see cref="T:System.Decimal" /> that indicates the numeric value of the current instance.</returns>
// Token: 0x170007FF RID: 2047
// (get) Token: 0x060028A5 RID: 10405 RVA: 0x000846B0 File Offset: 0x000828B0
// (set) Token: 0x060028A6 RID: 10406 RVA: 0x000846B8 File Offset: 0x000828B8
public decimal Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000800 RID: 2048
// (get) Token: 0x060028A7 RID: 10407 RVA: 0x000846C4 File Offset: 0x000828C4
public static string XsdType
{
get
{
return "integer";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028A8 RID: 10408 RVA: 0x000846CC File Offset: 0x000828CC
public string GetXsdType()
{
return SoapInteger.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
// Token: 0x060028A9 RID: 10409 RVA: 0x000846D4 File Offset: 0x000828D4
public static SoapInteger Parse(string value)
{
return new SoapInteger(decimal.Parse(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger.Value" />.</returns>
// Token: 0x060028AA RID: 10410 RVA: 0x000846E4 File Offset: 0x000828E4
public override string ToString()
{
return this._value.ToString();
}
// Token: 0x04000FB5 RID: 4021
private decimal _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML language type.</summary>
// Token: 0x02000418 RID: 1048
[ComVisible(true)]
[Serializable]
public sealed class SoapLanguage : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage" /> class.</summary>
// Token: 0x060028AB RID: 10411 RVA: 0x000846F4 File Offset: 0x000828F4
public SoapLanguage()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage" /> class with the language identifier value of language attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains the language identifier value of a language attribute. </param>
// Token: 0x060028AC RID: 10412 RVA: 0x000846FC File Offset: 0x000828FC
public SoapLanguage(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets the language identifier of a language attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the language identifier of a language attribute.</returns>
// Token: 0x17000801 RID: 2049
// (get) Token: 0x060028AD RID: 10413 RVA: 0x00084710 File Offset: 0x00082910
// (set) Token: 0x060028AE RID: 10414 RVA: 0x00084718 File Offset: 0x00082918
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000802 RID: 2050
// (get) Token: 0x060028AF RID: 10415 RVA: 0x00084724 File Offset: 0x00082924
public static string XsdType
{
get
{
return "language";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028B0 RID: 10416 RVA: 0x0008472C File Offset: 0x0008292C
public string GetXsdType()
{
return SoapLanguage.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028B1 RID: 10417 RVA: 0x00084734 File Offset: 0x00082934
public static SoapLanguage Parse(string value)
{
return new SoapLanguage(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage" /> object that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapLanguage.Value" />.</returns>
// Token: 0x060028B2 RID: 10418 RVA: 0x0008473C File Offset: 0x0008293C
public override string ToString()
{
return this._value;
}
// Token: 0x04000FB6 RID: 4022
private string _value;
}
}
@@ -0,0 +1,90 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD gMonth type.</summary>
// Token: 0x02000419 RID: 1049
[ComVisible(true)]
[Serializable]
public sealed class SoapMonth : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth" /> class.</summary>
// Token: 0x060028B3 RID: 10419 RVA: 0x00084744 File Offset: 0x00082944
public SoapMonth()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x060028B4 RID: 10420 RVA: 0x0008474C File Offset: 0x0008294C
public SoapMonth(DateTime value)
{
this._value = value;
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x17000803 RID: 2051
// (get) Token: 0x060028B6 RID: 10422 RVA: 0x0008477C File Offset: 0x0008297C
// (set) Token: 0x060028B7 RID: 10423 RVA: 0x00084784 File Offset: 0x00082984
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000804 RID: 2052
// (get) Token: 0x060028B8 RID: 10424 RVA: 0x00084790 File Offset: 0x00082990
public static string XsdType
{
get
{
return "gMonth";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028B9 RID: 10425 RVA: 0x00084798 File Offset: 0x00082998
public string GetXsdType()
{
return SoapMonth.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapDay" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x060028BA RID: 10426 RVA: 0x000847A0 File Offset: 0x000829A0
public static SoapMonth Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapMonth._datetimeFormats, null, DateTimeStyles.None);
return new SoapMonth(dateTime);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonth.Value" /> in the format "--MM--".</returns>
// Token: 0x060028BB RID: 10427 RVA: 0x000847C4 File Offset: 0x000829C4
public override string ToString()
{
return this._value.ToString("--MM--", CultureInfo.InvariantCulture);
}
// Token: 0x04000FB7 RID: 4023
private static readonly string[] _datetimeFormats = new string[] { "--MM--", "--MM--zzz" };
// Token: 0x04000FB8 RID: 4024
private DateTime _value;
}
}
@@ -0,0 +1,90 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD gMonthDay type.</summary>
// Token: 0x0200041A RID: 1050
[ComVisible(true)]
[Serializable]
public sealed class SoapMonthDay : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay" /> class.</summary>
// Token: 0x060028BC RID: 10428 RVA: 0x000847DC File Offset: 0x000829DC
public SoapMonthDay()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x060028BD RID: 10429 RVA: 0x000847E4 File Offset: 0x000829E4
public SoapMonthDay(DateTime value)
{
this._value = value;
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x17000805 RID: 2053
// (get) Token: 0x060028BF RID: 10431 RVA: 0x00084814 File Offset: 0x00082A14
// (set) Token: 0x060028C0 RID: 10432 RVA: 0x0008481C File Offset: 0x00082A1C
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000806 RID: 2054
// (get) Token: 0x060028C1 RID: 10433 RVA: 0x00084828 File Offset: 0x00082A28
public static string XsdType
{
get
{
return "gMonthDay";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028C2 RID: 10434 RVA: 0x00084830 File Offset: 0x00082A30
public string GetXsdType()
{
return SoapMonthDay.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x060028C3 RID: 10435 RVA: 0x00084838 File Offset: 0x00082A38
public static SoapMonthDay Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapMonthDay._datetimeFormats, null, DateTimeStyles.None);
return new SoapMonthDay(dateTime);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapMonthDay.Value" /> in the format "'--'MM'-'dd".</returns>
// Token: 0x060028C4 RID: 10436 RVA: 0x0008485C File Offset: 0x00082A5C
public override string ToString()
{
return this._value.ToString("--MM-dd", CultureInfo.InvariantCulture);
}
// Token: 0x04000FB9 RID: 4025
private static readonly string[] _datetimeFormats = new string[] { "--MM-dd", "--MM-ddzzz" };
// Token: 0x04000FBA RID: 4026
private DateTime _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML Name type.</summary>
// Token: 0x0200041B RID: 1051
[ComVisible(true)]
[Serializable]
public sealed class SoapName : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName" /> class.</summary>
// Token: 0x060028C5 RID: 10437 RVA: 0x00084874 File Offset: 0x00082A74
public SoapName()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName" /> class with an XML Name type.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML Name type. </param>
// Token: 0x060028C6 RID: 10438 RVA: 0x0008487C File Offset: 0x00082A7C
public SoapName(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML Name type.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML Name type.</returns>
// Token: 0x17000807 RID: 2055
// (get) Token: 0x060028C7 RID: 10439 RVA: 0x00084890 File Offset: 0x00082A90
// (set) Token: 0x060028C8 RID: 10440 RVA: 0x00084898 File Offset: 0x00082A98
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000808 RID: 2056
// (get) Token: 0x060028C9 RID: 10441 RVA: 0x000848A4 File Offset: 0x00082AA4
public static string XsdType
{
get
{
return "Name";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028CA RID: 10442 RVA: 0x000848AC File Offset: 0x00082AAC
public string GetXsdType()
{
return SoapName.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028CB RID: 10443 RVA: 0x000848B4 File Offset: 0x00082AB4
public static SoapName Parse(string value)
{
return new SoapName(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapName.Value" />.</returns>
// Token: 0x060028CC RID: 10444 RVA: 0x000848BC File Offset: 0x00082ABC
public override string ToString()
{
return this._value;
}
// Token: 0x04000FBB RID: 4027
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML NcName type.</summary>
// Token: 0x0200041C RID: 1052
[ComVisible(true)]
[Serializable]
public sealed class SoapNcName : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName" /> class.</summary>
// Token: 0x060028CD RID: 10445 RVA: 0x000848C4 File Offset: 0x00082AC4
public SoapNcName()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName" /> class with an XML NcName type.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML NcName type. </param>
// Token: 0x060028CE RID: 10446 RVA: 0x000848CC File Offset: 0x00082ACC
public SoapNcName(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML NcName type.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML NcName type.</returns>
// Token: 0x17000809 RID: 2057
// (get) Token: 0x060028CF RID: 10447 RVA: 0x000848E0 File Offset: 0x00082AE0
// (set) Token: 0x060028D0 RID: 10448 RVA: 0x000848E8 File Offset: 0x00082AE8
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x1700080A RID: 2058
// (get) Token: 0x060028D1 RID: 10449 RVA: 0x000848F4 File Offset: 0x00082AF4
public static string XsdType
{
get
{
return "NCName";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028D2 RID: 10450 RVA: 0x000848FC File Offset: 0x00082AFC
public string GetXsdType()
{
return SoapNcName.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028D3 RID: 10451 RVA: 0x00084904 File Offset: 0x00082B04
public static SoapNcName Parse(string value)
{
return new SoapNcName(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNcName.Value" />.</returns>
// Token: 0x060028D4 RID: 10452 RVA: 0x0008490C File Offset: 0x00082B0C
public override string ToString()
{
return this._value;
}
// Token: 0x04000FBC RID: 4028
private string _value;
}
}
@@ -0,0 +1,91 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD negativeInteger type.</summary>
// Token: 0x0200041D RID: 1053
[ComVisible(true)]
[Serializable]
public sealed class SoapNegativeInteger : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger" /> class.</summary>
// Token: 0x060028D5 RID: 10453 RVA: 0x00084914 File Offset: 0x00082B14
public SoapNegativeInteger()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger" /> class with a <see cref="T:System.Decimal" /> value.</summary>
/// <param name="value">A <see cref="T:System.Decimal" /> value to initialize the current instance. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is greater than -1. </exception>
// Token: 0x060028D6 RID: 10454 RVA: 0x0008491C File Offset: 0x00082B1C
public SoapNegativeInteger(decimal value)
{
if (value >= 0m)
{
throw SoapHelper.GetException(this, "invalid " + value);
}
this._value = value;
}
/// <summary>Gets or sets the numeric value of the current instance.</summary>
/// <returns>A <see cref="T:System.Decimal" /> that indicates the numeric value of the current instance.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is greater than -1. </exception>
// Token: 0x1700080B RID: 2059
// (get) Token: 0x060028D7 RID: 10455 RVA: 0x00084954 File Offset: 0x00082B54
// (set) Token: 0x060028D8 RID: 10456 RVA: 0x0008495C File Offset: 0x00082B5C
public decimal Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x1700080C RID: 2060
// (get) Token: 0x060028D9 RID: 10457 RVA: 0x00084968 File Offset: 0x00082B68
public static string XsdType
{
get
{
return "negativeInteger";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028DA RID: 10458 RVA: 0x00084970 File Offset: 0x00082B70
public string GetXsdType()
{
return SoapNegativeInteger.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger" /> object that is obtained from <paramref name="value" />. </returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
// Token: 0x060028DB RID: 10459 RVA: 0x00084978 File Offset: 0x00082B78
public static SoapNegativeInteger Parse(string value)
{
return new SoapNegativeInteger(decimal.Parse(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNegativeInteger.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from Value.</returns>
// Token: 0x060028DC RID: 10460 RVA: 0x00084988 File Offset: 0x00082B88
public override string ToString()
{
return this._value.ToString();
}
// Token: 0x04000FBD RID: 4029
private decimal _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML NMTOKEN attribute.</summary>
// Token: 0x0200041E RID: 1054
[ComVisible(true)]
[Serializable]
public sealed class SoapNmtoken : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken" /> class.</summary>
// Token: 0x060028DD RID: 10461 RVA: 0x00084998 File Offset: 0x00082B98
public SoapNmtoken()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken" /> class with an XML NMTOKEN attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> containing an XML NMTOKEN attribute. </param>
// Token: 0x060028DE RID: 10462 RVA: 0x000849A0 File Offset: 0x00082BA0
public SoapNmtoken(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML NMTOKEN attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML NMTOKEN attribute.</returns>
// Token: 0x1700080D RID: 2061
// (get) Token: 0x060028DF RID: 10463 RVA: 0x000849B4 File Offset: 0x00082BB4
// (set) Token: 0x060028E0 RID: 10464 RVA: 0x000849BC File Offset: 0x00082BBC
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x1700080E RID: 2062
// (get) Token: 0x060028E1 RID: 10465 RVA: 0x000849C8 File Offset: 0x00082BC8
public static string XsdType
{
get
{
return "NMTOKEN";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028E2 RID: 10466 RVA: 0x000849D0 File Offset: 0x00082BD0
public string GetXsdType()
{
return SoapNmtoken.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028E3 RID: 10467 RVA: 0x000849D8 File Offset: 0x00082BD8
public static SoapNmtoken Parse(string value)
{
return new SoapNmtoken(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtoken.Value" />.</returns>
// Token: 0x060028E4 RID: 10468 RVA: 0x000849E0 File Offset: 0x00082BE0
public override string ToString()
{
return this._value;
}
// Token: 0x04000FBE RID: 4030
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML NMTOKENS attribute.</summary>
// Token: 0x0200041F RID: 1055
[ComVisible(true)]
[Serializable]
public sealed class SoapNmtokens : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens" /> class.</summary>
// Token: 0x060028E5 RID: 10469 RVA: 0x000849E8 File Offset: 0x00082BE8
public SoapNmtokens()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens" /> class with an XML NMTOKENS attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML NMTOKENS attribute. </param>
// Token: 0x060028E6 RID: 10470 RVA: 0x000849F0 File Offset: 0x00082BF0
public SoapNmtokens(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML NMTOKENS attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML NMTOKENS attribute.</returns>
// Token: 0x1700080F RID: 2063
// (get) Token: 0x060028E7 RID: 10471 RVA: 0x00084A04 File Offset: 0x00082C04
// (set) Token: 0x060028E8 RID: 10472 RVA: 0x00084A0C File Offset: 0x00082C0C
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000810 RID: 2064
// (get) Token: 0x060028E9 RID: 10473 RVA: 0x00084A18 File Offset: 0x00082C18
public static string XsdType
{
get
{
return "NMTOKENS";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028EA RID: 10474 RVA: 0x00084A20 File Offset: 0x00082C20
public string GetXsdType()
{
return SoapNmtokens.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028EB RID: 10475 RVA: 0x00084A28 File Offset: 0x00082C28
public static SoapNmtokens Parse(string value)
{
return new SoapNmtokens(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNmtokens.Value" />.</returns>
// Token: 0x060028EC RID: 10476 RVA: 0x00084A30 File Offset: 0x00082C30
public override string ToString()
{
return this._value;
}
// Token: 0x04000FBF RID: 4031
private string _value;
}
}
@@ -0,0 +1,91 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD nonNegativeInteger type.</summary>
// Token: 0x02000420 RID: 1056
[ComVisible(true)]
[Serializable]
public sealed class SoapNonNegativeInteger : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger" /> class.</summary>
// Token: 0x060028ED RID: 10477 RVA: 0x00084A38 File Offset: 0x00082C38
public SoapNonNegativeInteger()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger" /> class with a <see cref="T:System.Decimal" /> value.</summary>
/// <param name="value">A <see cref="T:System.Decimal" /> value to initialize the current instance. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is less than 0. </exception>
// Token: 0x060028EE RID: 10478 RVA: 0x00084A40 File Offset: 0x00082C40
public SoapNonNegativeInteger(decimal value)
{
if (value < 0m)
{
throw SoapHelper.GetException(this, "invalid " + value);
}
this._value = value;
}
/// <summary>Gets or sets the numeric value of the current instance.</summary>
/// <returns>A <see cref="T:System.Decimal" /> that indicates the numeric value of the current instance.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is less than 0. </exception>
// Token: 0x17000811 RID: 2065
// (get) Token: 0x060028EF RID: 10479 RVA: 0x00084A78 File Offset: 0x00082C78
// (set) Token: 0x060028F0 RID: 10480 RVA: 0x00084A80 File Offset: 0x00082C80
public decimal Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000812 RID: 2066
// (get) Token: 0x060028F1 RID: 10481 RVA: 0x00084A8C File Offset: 0x00082C8C
public static string XsdType
{
get
{
return "nonNegativeInteger";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028F2 RID: 10482 RVA: 0x00084A94 File Offset: 0x00082C94
public string GetXsdType()
{
return SoapNonNegativeInteger.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger" /> object that is obtained from <paramref name="value" />. </returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
// Token: 0x060028F3 RID: 10483 RVA: 0x00084A9C File Offset: 0x00082C9C
public static SoapNonNegativeInteger Parse(string value)
{
return new SoapNonNegativeInteger(decimal.Parse(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonNegativeInteger.Value" />.</returns>
// Token: 0x060028F4 RID: 10484 RVA: 0x00084AAC File Offset: 0x00082CAC
public override string ToString()
{
return this._value.ToString();
}
// Token: 0x04000FC0 RID: 4032
private decimal _value;
}
}
@@ -0,0 +1,91 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD nonPositiveInteger type.</summary>
// Token: 0x02000421 RID: 1057
[ComVisible(true)]
[Serializable]
public sealed class SoapNonPositiveInteger : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger" /> class.</summary>
// Token: 0x060028F5 RID: 10485 RVA: 0x00084ABC File Offset: 0x00082CBC
public SoapNonPositiveInteger()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger" /> class with a <see cref="T:System.Decimal" /> value.</summary>
/// <param name="value">A <see cref="T:System.Decimal" /> value to initialize the current instance. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is greater than zero. </exception>
// Token: 0x060028F6 RID: 10486 RVA: 0x00084AC4 File Offset: 0x00082CC4
public SoapNonPositiveInteger(decimal value)
{
if (value > 0m)
{
throw SoapHelper.GetException(this, "invalid " + value);
}
this._value = value;
}
/// <summary>Gets or sets the numeric value of the current instance.</summary>
/// <returns>A <see cref="T:System.Decimal" /> that indicates the numeric value of the current instance.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is greater than zero. </exception>
// Token: 0x17000813 RID: 2067
// (get) Token: 0x060028F7 RID: 10487 RVA: 0x00084AFC File Offset: 0x00082CFC
// (set) Token: 0x060028F8 RID: 10488 RVA: 0x00084B04 File Offset: 0x00082D04
public decimal Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000814 RID: 2068
// (get) Token: 0x060028F9 RID: 10489 RVA: 0x00084B10 File Offset: 0x00082D10
public static string XsdType
{
get
{
return "nonPositiveInteger";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x060028FA RID: 10490 RVA: 0x00084B18 File Offset: 0x00082D18
public string GetXsdType()
{
return SoapNonPositiveInteger.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger" /> object that is obtained from <paramref name="value" /></returns>
/// <param name="value">The String to convert. </param>
// Token: 0x060028FB RID: 10491 RVA: 0x00084B20 File Offset: 0x00082D20
public static SoapNonPositiveInteger Parse(string value)
{
return new SoapNonPositiveInteger(decimal.Parse(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNonPositiveInteger.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from Value.</returns>
// Token: 0x060028FC RID: 10492 RVA: 0x00084B30 File Offset: 0x00082D30
public override string ToString()
{
return this._value.ToString();
}
// Token: 0x04000FC1 RID: 4033
private decimal _value;
}
}
@@ -0,0 +1,89 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML normalizedString type.</summary>
// Token: 0x02000422 RID: 1058
[ComVisible(true)]
[Serializable]
public sealed class SoapNormalizedString : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString" /> class.</summary>
// Token: 0x060028FD RID: 10493 RVA: 0x00084B40 File Offset: 0x00082D40
public SoapNormalizedString()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString" /> class with a normalized string.</summary>
/// <param name="value">A <see cref="T:System.String" /> object that contains a normalized string. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> contains invalid characters (0xD, 0xA, or 0x9). </exception>
// Token: 0x060028FE RID: 10494 RVA: 0x00084B48 File Offset: 0x00082D48
public SoapNormalizedString(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets a normalized string.</summary>
/// <returns>A <see cref="T:System.String" /> object that contains a normalized string.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> contains invalid characters (0xD, 0xA, or 0x9). </exception>
// Token: 0x17000815 RID: 2069
// (get) Token: 0x060028FF RID: 10495 RVA: 0x00084B5C File Offset: 0x00082D5C
// (set) Token: 0x06002900 RID: 10496 RVA: 0x00084B64 File Offset: 0x00082D64
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000816 RID: 2070
// (get) Token: 0x06002901 RID: 10497 RVA: 0x00084B70 File Offset: 0x00082D70
public static string XsdType
{
get
{
return "normalizedString";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002902 RID: 10498 RVA: 0x00084B78 File Offset: 0x00082D78
public string GetXsdType()
{
return SoapNormalizedString.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString" /> object obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> contains invalid characters (0xD, 0xA, or 0x9). </exception>
// Token: 0x06002903 RID: 10499 RVA: 0x00084B80 File Offset: 0x00082D80
public static SoapNormalizedString Parse(string value)
{
return new SoapNormalizedString(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString.Value" /> in the format "&lt;![CDATA[" + <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString.Value" /> + "]]&gt;".</returns>
// Token: 0x06002904 RID: 10500 RVA: 0x00084B88 File Offset: 0x00082D88
public override string ToString()
{
return this._value;
}
// Token: 0x04000FC2 RID: 4034
private string _value;
}
}
@@ -0,0 +1,83 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML NOTATION attribute type.</summary>
// Token: 0x02000423 RID: 1059
[ComVisible(true)]
[Serializable]
public sealed class SoapNotation : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation" /> class.</summary>
// Token: 0x06002905 RID: 10501 RVA: 0x00084B90 File Offset: 0x00082D90
public SoapNotation()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation" /> class with an XML NOTATION attribute.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML NOTATION attribute. </param>
// Token: 0x06002906 RID: 10502 RVA: 0x00084B98 File Offset: 0x00082D98
public SoapNotation(string value)
{
this._value = value;
}
/// <summary>Gets or sets an XML NOTATION attribute.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML NOTATION attribute.</returns>
// Token: 0x17000817 RID: 2071
// (get) Token: 0x06002907 RID: 10503 RVA: 0x00084BA8 File Offset: 0x00082DA8
// (set) Token: 0x06002908 RID: 10504 RVA: 0x00084BB0 File Offset: 0x00082DB0
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000818 RID: 2072
// (get) Token: 0x06002909 RID: 10505 RVA: 0x00084BBC File Offset: 0x00082DBC
public static string XsdType
{
get
{
return "NOTATION";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x0600290A RID: 10506 RVA: 0x00084BC4 File Offset: 0x00082DC4
public string GetXsdType()
{
return SoapNotation.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x0600290B RID: 10507 RVA: 0x00084BCC File Offset: 0x00082DCC
public static SoapNotation Parse(string value)
{
return new SoapNotation(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNotation.Value" />.</returns>
// Token: 0x0600290C RID: 10508 RVA: 0x00084BD4 File Offset: 0x00082DD4
public override string ToString()
{
return this._value;
}
// Token: 0x04000FC3 RID: 4035
private string _value;
}
}
@@ -0,0 +1,91 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD positiveInteger type.</summary>
// Token: 0x02000424 RID: 1060
[ComVisible(true)]
[Serializable]
public sealed class SoapPositiveInteger : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger" /> class.</summary>
// Token: 0x0600290D RID: 10509 RVA: 0x00084BDC File Offset: 0x00082DDC
public SoapPositiveInteger()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapInteger" /> class with a <see cref="T:System.Decimal" /> value.</summary>
/// <param name="value">A <see cref="T:System.Decimal" /> value to initialize the current instance. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is less than 1. </exception>
// Token: 0x0600290E RID: 10510 RVA: 0x00084BE4 File Offset: 0x00082DE4
public SoapPositiveInteger(decimal value)
{
if (value <= 0m)
{
throw SoapHelper.GetException(this, "invalid " + value);
}
this._value = value;
}
/// <summary>Gets or sets the numeric value of the current instance.</summary>
/// <returns>A <see cref="T:System.Decimal" /> indicating the numeric value of the current instance.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> is less than 1. </exception>
// Token: 0x17000819 RID: 2073
// (get) Token: 0x0600290F RID: 10511 RVA: 0x00084C1C File Offset: 0x00082E1C
// (set) Token: 0x06002910 RID: 10512 RVA: 0x00084C24 File Offset: 0x00082E24
public decimal Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x1700081A RID: 2074
// (get) Token: 0x06002911 RID: 10513 RVA: 0x00084C30 File Offset: 0x00082E30
public static string XsdType
{
get
{
return "positiveInteger";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002912 RID: 10514 RVA: 0x00084C38 File Offset: 0x00082E38
public string GetXsdType()
{
return SoapPositiveInteger.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger" /> object that is obtained from <paramref name="value" />. </returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002913 RID: 10515 RVA: 0x00084C40 File Offset: 0x00082E40
public static SoapPositiveInteger Parse(string value)
{
return new SoapPositiveInteger(decimal.Parse(value));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger.Value" />.</returns>
// Token: 0x06002914 RID: 10516 RVA: 0x00084C50 File Offset: 0x00082E50
public override string ToString()
{
return this._value.ToString();
}
// Token: 0x04000FC4 RID: 4036
private decimal _value;
}
}
@@ -0,0 +1,160 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD QName type.</summary>
// Token: 0x02000425 RID: 1061
[ComVisible(true)]
[Serializable]
public sealed class SoapQName : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> class.</summary>
// Token: 0x06002915 RID: 10517 RVA: 0x00084C60 File Offset: 0x00082E60
public SoapQName()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> class with the local part of a qualified name.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains the local part of a qualified name. </param>
// Token: 0x06002916 RID: 10518 RVA: 0x00084C68 File Offset: 0x00082E68
public SoapQName(string value)
{
this._name = value;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> class with the namespace alias and the local part of a qualified name.</summary>
/// <param name="key">A <see cref="T:System.String" /> that contains the namespace alias of a qualified name. </param>
/// <param name="name">A <see cref="T:System.String" /> that contains the local part of a qualified name. </param>
// Token: 0x06002917 RID: 10519 RVA: 0x00084C78 File Offset: 0x00082E78
public SoapQName(string key, string name)
{
this._key = key;
this._name = name;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> class with the namespace alias, the local part of a qualified name, and the namespace that is referenced by the alias.</summary>
/// <param name="key">A <see cref="T:System.String" /> that contains the namespace alias of a qualified name. </param>
/// <param name="name">A <see cref="T:System.String" /> that contains the local part of a qualified name. </param>
/// <param name="namespaceValue">A <see cref="T:System.String" /> that contains the namespace that is referenced by <paramref name="key" />. </param>
// Token: 0x06002918 RID: 10520 RVA: 0x00084C90 File Offset: 0x00082E90
public SoapQName(string key, string name, string namespaceValue)
{
this._key = key;
this._name = name;
this._namespace = namespaceValue;
}
/// <summary>Gets or sets the namespace alias of a qualified name.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the namespace alias of a qualified name.</returns>
// Token: 0x1700081B RID: 2075
// (get) Token: 0x06002919 RID: 10521 RVA: 0x00084CB0 File Offset: 0x00082EB0
// (set) Token: 0x0600291A RID: 10522 RVA: 0x00084CB8 File Offset: 0x00082EB8
public string Key
{
get
{
return this._key;
}
set
{
this._key = value;
}
}
/// <summary>Gets or sets the name portion of a qualified name.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the name portion of a qualified name.</returns>
// Token: 0x1700081C RID: 2076
// (get) Token: 0x0600291B RID: 10523 RVA: 0x00084CC4 File Offset: 0x00082EC4
// (set) Token: 0x0600291C RID: 10524 RVA: 0x00084CCC File Offset: 0x00082ECC
public string Name
{
get
{
return this._name;
}
set
{
this._name = value;
}
}
/// <summary>Gets or sets the namespace that is referenced by <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Key" />.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the namespace that is referenced by <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Key" />.</returns>
// Token: 0x1700081D RID: 2077
// (get) Token: 0x0600291D RID: 10525 RVA: 0x00084CD8 File Offset: 0x00082ED8
// (set) Token: 0x0600291E RID: 10526 RVA: 0x00084CE0 File Offset: 0x00082EE0
public string Namespace
{
get
{
return this._namespace;
}
set
{
this._namespace = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x1700081E RID: 2078
// (get) Token: 0x0600291F RID: 10527 RVA: 0x00084CEC File Offset: 0x00082EEC
public static string XsdType
{
get
{
return "QName";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> indicating the XSD of the current SOAP type.</returns>
// Token: 0x06002920 RID: 10528 RVA: 0x00084CF4 File Offset: 0x00082EF4
public string GetXsdType()
{
return SoapQName.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
// Token: 0x06002921 RID: 10529 RVA: 0x00084CFC File Offset: 0x00082EFC
public static SoapQName Parse(string value)
{
SoapQName soapQName = new SoapQName();
int num = value.IndexOf(':');
if (num != -1)
{
soapQName.Key = value.Substring(0, num);
soapQName.Name = value.Substring(num + 1);
}
else
{
soapQName.Name = value;
}
return soapQName;
}
/// <summary>Returns the qualified name as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> in the format " <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Key" /> : <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Name" /> ". If <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Key" /> is not specified, this method returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapQName.Name" />.</returns>
// Token: 0x06002922 RID: 10530 RVA: 0x00084D4C File Offset: 0x00082F4C
public override string ToString()
{
if (this._key == null || this._key == string.Empty)
{
return this._name;
}
return this._key + ":" + this._name;
}
// Token: 0x04000FC5 RID: 4037
private string _name;
// Token: 0x04000FC6 RID: 4038
private string _key;
// Token: 0x04000FC7 RID: 4039
private string _namespace;
}
}
@@ -0,0 +1,94 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD time type. </summary>
// Token: 0x02000426 RID: 1062
[ComVisible(true)]
[Serializable]
public sealed class SoapTime : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime" /> class.</summary>
// Token: 0x06002923 RID: 10531 RVA: 0x00084D8C File Offset: 0x00082F8C
public SoapTime()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x06002924 RID: 10532 RVA: 0x00084D94 File Offset: 0x00082F94
public SoapTime(DateTime value)
{
this._value = value;
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x1700081F RID: 2079
// (get) Token: 0x06002926 RID: 10534 RVA: 0x00084E8C File Offset: 0x0008308C
// (set) Token: 0x06002927 RID: 10535 RVA: 0x00084E94 File Offset: 0x00083094
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000820 RID: 2080
// (get) Token: 0x06002928 RID: 10536 RVA: 0x00084EA0 File Offset: 0x000830A0
public static string XsdType
{
get
{
return "time";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002929 RID: 10537 RVA: 0x00084EA8 File Offset: 0x000830A8
public string GetXsdType()
{
return SoapTime.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x0600292A RID: 10538 RVA: 0x00084EB0 File Offset: 0x000830B0
public static SoapTime Parse(string value)
{
return new SoapTime(DateTime.ParseExact(value, SoapTime._datetimeFormats, null, DateTimeStyles.None));
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapTime.Value" /> in the format "HH:mm:ss.fffzzz".</returns>
// Token: 0x0600292B RID: 10539 RVA: 0x00084EC4 File Offset: 0x000830C4
public override string ToString()
{
return this._value.ToString("HH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture);
}
// Token: 0x04000FC8 RID: 4040
private static readonly string[] _datetimeFormats = new string[]
{
"HH:mm:ss", "HH:mm:ss.f", "HH:mm:ss.ff", "HH:mm:ss.fff", "HH:mm:ss.ffff", "HH:mm:ss.fffff", "HH:mm:ss.ffffff", "HH:mm:ss.fffffff", "HH:mm:sszzz", "HH:mm:ss.fzzz",
"HH:mm:ss.ffzzz", "HH:mm:ss.fffzzz", "HH:mm:ss.ffffzzz", "HH:mm:ss.fffffzzz", "HH:mm:ss.ffffffzzz", "HH:mm:ss.fffffffzzz", "HH:mm:ssZ", "HH:mm:ss.fZ", "HH:mm:ss.ffZ", "HH:mm:ss.fffZ",
"HH:mm:ss.ffffZ", "HH:mm:ss.fffffZ", "HH:mm:ss.ffffffZ", "HH:mm:ss.fffffffZ"
};
// Token: 0x04000FC9 RID: 4041
private DateTime _value;
}
}
@@ -0,0 +1,85 @@
using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XML token type.</summary>
// Token: 0x02000427 RID: 1063
[ComVisible(true)]
[Serializable]
public sealed class SoapToken : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken" /> class.</summary>
// Token: 0x0600292C RID: 10540 RVA: 0x00084EDC File Offset: 0x000830DC
public SoapToken()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken" /> class with an XML token.</summary>
/// <param name="value">A <see cref="T:System.String" /> that contains an XML token. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">One of the following: <paramref name="value" /> contains invalid characters (0xD or 0x9).<paramref name="value" /> [0] or <paramref name="value" /> [ <paramref name="value" />.Length - 1] contains white space.<paramref name="value" /> contains any spaces. </exception>
// Token: 0x0600292D RID: 10541 RVA: 0x00084EE4 File Offset: 0x000830E4
public SoapToken(string value)
{
this._value = SoapHelper.Normalize(value);
}
/// <summary>Gets or sets an XML token.</summary>
/// <returns>A <see cref="T:System.String" /> that contains an XML token.</returns>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">One of the following: <paramref name="value" /> contains invalid characters (0xD or 0x9).<paramref name="value" /> [0] or <paramref name="value" /> [ <paramref name="value" />.Length - 1] contains white space.<paramref name="value" /> contains any spaces. </exception>
// Token: 0x17000821 RID: 2081
// (get) Token: 0x0600292E RID: 10542 RVA: 0x00084EF8 File Offset: 0x000830F8
// (set) Token: 0x0600292F RID: 10543 RVA: 0x00084F00 File Offset: 0x00083100
public string Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000822 RID: 2082
// (get) Token: 0x06002930 RID: 10544 RVA: 0x00084F0C File Offset: 0x0008310C
public static string XsdType
{
get
{
return "token";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002931 RID: 10545 RVA: 0x00084F14 File Offset: 0x00083114
public string GetXsdType()
{
return SoapToken.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The String to convert. </param>
// Token: 0x06002932 RID: 10546 RVA: 0x00084F1C File Offset: 0x0008311C
public static SoapToken Parse(string value)
{
return new SoapToken(value);
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapToken.Value" />.</returns>
// Token: 0x06002933 RID: 10547 RVA: 0x00084F24 File Offset: 0x00083124
public override string ToString()
{
return this._value;
}
// Token: 0x04000FCA RID: 4042
private string _value;
}
}
@@ -0,0 +1,133 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD gYear type. </summary>
// Token: 0x02000428 RID: 1064
[ComVisible(true)]
[Serializable]
public sealed class SoapYear : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear" /> class.</summary>
// Token: 0x06002934 RID: 10548 RVA: 0x00084F2C File Offset: 0x0008312C
public SoapYear()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x06002935 RID: 10549 RVA: 0x00084F34 File Offset: 0x00083134
public SoapYear(DateTime value)
{
this._value = value;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear" /> class with a specified <see cref="T:System.DateTime" /> object and an integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear.Value" /> is a positive or negative value.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
/// <param name="sign">An integer that indicates whether <paramref name="value" /> is positive. </param>
// Token: 0x06002936 RID: 10550 RVA: 0x00084F44 File Offset: 0x00083144
public SoapYear(DateTime value, int sign)
{
this._value = value;
this._sign = sign;
}
/// <summary>Gets or sets whether the date and time of the current instance is positive or negative.</summary>
/// <returns>An integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear.Value" /> is positive or negative.</returns>
// Token: 0x17000823 RID: 2083
// (get) Token: 0x06002938 RID: 10552 RVA: 0x00084F9C File Offset: 0x0008319C
// (set) Token: 0x06002939 RID: 10553 RVA: 0x00084FA4 File Offset: 0x000831A4
public int Sign
{
get
{
return this._sign;
}
set
{
this._sign = value;
}
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x17000824 RID: 2084
// (get) Token: 0x0600293A RID: 10554 RVA: 0x00084FB0 File Offset: 0x000831B0
// (set) Token: 0x0600293B RID: 10555 RVA: 0x00084FB8 File Offset: 0x000831B8
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000825 RID: 2085
// (get) Token: 0x0600293C RID: 10556 RVA: 0x00084FC4 File Offset: 0x000831C4
public static string XsdType
{
get
{
return "gYear";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x0600293D RID: 10557 RVA: 0x00084FCC File Offset: 0x000831CC
public string GetXsdType()
{
return SoapYear.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert. </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x0600293E RID: 10558 RVA: 0x00084FD4 File Offset: 0x000831D4
public static SoapYear Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapYear._datetimeFormats, null, DateTimeStyles.None);
SoapYear soapYear = new SoapYear(dateTime);
if (value.StartsWith("-"))
{
soapYear.Sign = -1;
}
else
{
soapYear.Sign = 0;
}
return soapYear;
}
/// <summary>Returns <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear.Value" /> in the format "yyyy" or "-yyyy" if <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYear.Sign" /> is negative.</returns>
// Token: 0x0600293F RID: 10559 RVA: 0x0008501C File Offset: 0x0008321C
public override string ToString()
{
if (this._sign >= 0)
{
return this._value.ToString("yyyy", CultureInfo.InvariantCulture);
}
return this._value.ToString("'-'yyyy", CultureInfo.InvariantCulture);
}
// Token: 0x04000FCB RID: 4043
private static readonly string[] _datetimeFormats = new string[] { "yyyy", "'+'yyyy", "'-'yyyy", "yyyyzzz", "'+'yyyyzzz", "'-'yyyyzzz" };
// Token: 0x04000FCC RID: 4044
private int _sign;
// Token: 0x04000FCD RID: 4045
private DateTime _value;
}
}
@@ -0,0 +1,133 @@
using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace System.Runtime.Remoting.Metadata.W3cXsd2001
{
/// <summary>Wraps an XSD gYearMonth type. </summary>
// Token: 0x02000429 RID: 1065
[ComVisible(true)]
[Serializable]
public sealed class SoapYearMonth : ISoapXsd
{
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth" /> class.</summary>
// Token: 0x06002940 RID: 10560 RVA: 0x00085060 File Offset: 0x00083260
public SoapYearMonth()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth" /> class with a specified <see cref="T:System.DateTime" /> object.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
// Token: 0x06002941 RID: 10561 RVA: 0x00085068 File Offset: 0x00083268
public SoapYearMonth(DateTime value)
{
this._value = value;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth" /> class with a specified <see cref="T:System.DateTime" /> object and an integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.Value" /> is a positive or negative value.</summary>
/// <param name="value">A <see cref="T:System.DateTime" /> object to initialize the current instance. </param>
/// <param name="sign">An integer that indicates whether <paramref name="value" /> is positive. </param>
// Token: 0x06002942 RID: 10562 RVA: 0x00085078 File Offset: 0x00083278
public SoapYearMonth(DateTime value, int sign)
{
this._value = value;
this._sign = sign;
}
/// <summary>Gets or sets whether the date and time of the current instance is positive or negative.</summary>
/// <returns>An integer that indicates whether <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.Value" /> is positive or negative.</returns>
// Token: 0x17000826 RID: 2086
// (get) Token: 0x06002944 RID: 10564 RVA: 0x000850D0 File Offset: 0x000832D0
// (set) Token: 0x06002945 RID: 10565 RVA: 0x000850D8 File Offset: 0x000832D8
public int Sign
{
get
{
return this._sign;
}
set
{
this._sign = value;
}
}
/// <summary>Gets or sets the date and time of the current instance.</summary>
/// <returns>The <see cref="T:System.DateTime" /> object that contains the date and time of the current instance.</returns>
// Token: 0x17000827 RID: 2087
// (get) Token: 0x06002946 RID: 10566 RVA: 0x000850E4 File Offset: 0x000832E4
// (set) Token: 0x06002947 RID: 10567 RVA: 0x000850EC File Offset: 0x000832EC
public DateTime Value
{
get
{
return this._value;
}
set
{
this._value = value;
}
}
/// <summary>Gets the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x17000828 RID: 2088
// (get) Token: 0x06002948 RID: 10568 RVA: 0x000850F8 File Offset: 0x000832F8
public static string XsdType
{
get
{
return "gYearMonth";
}
}
/// <summary>Returns the XML Schema definition language (XSD) of the current SOAP type.</summary>
/// <returns>A <see cref="T:System.String" /> that indicates the XSD of the current SOAP type.</returns>
// Token: 0x06002949 RID: 10569 RVA: 0x00085100 File Offset: 0x00083300
public string GetXsdType()
{
return SoapYearMonth.XsdType;
}
/// <summary>Converts the specified <see cref="T:System.String" /> into a <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth" /> object.</summary>
/// <returns>A <see cref="T:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth" /> object that is obtained from <paramref name="value" />.</returns>
/// <param name="value">The <see cref="T:System.String" /> to convert </param>
/// <exception cref="T:System.Runtime.Remoting.RemotingException">
/// <paramref name="value" /> does not contain a date and time that corresponds to any of the recognized format patterns. </exception>
// Token: 0x0600294A RID: 10570 RVA: 0x00085108 File Offset: 0x00083308
public static SoapYearMonth Parse(string value)
{
DateTime dateTime = DateTime.ParseExact(value, SoapYearMonth._datetimeFormats, null, DateTimeStyles.None);
SoapYearMonth soapYearMonth = new SoapYearMonth(dateTime);
if (value.StartsWith("-"))
{
soapYearMonth.Sign = -1;
}
else
{
soapYearMonth.Sign = 0;
}
return soapYearMonth;
}
/// <summary>Returns a <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.Value" /> as a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that is obtained from <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.Value" /> in the format "yyyy-MM" or "'-'yyyy-MM" if <see cref="P:System.Runtime.Remoting.Metadata.W3cXsd2001.SoapYearMonth.Sign" /> is negative.</returns>
// Token: 0x0600294B RID: 10571 RVA: 0x00085150 File Offset: 0x00083350
public override string ToString()
{
if (this._sign >= 0)
{
return this._value.ToString("yyyy-MM", CultureInfo.InvariantCulture);
}
return this._value.ToString("'-'yyyy-MM", CultureInfo.InvariantCulture);
}
// Token: 0x04000FCE RID: 4046
private static readonly string[] _datetimeFormats = new string[] { "yyyy-MM", "'+'yyyy-MM", "'-'yyyy-MM", "yyyy-MMzzz", "'+'yyyy-MMzzz", "'-'yyyy-MMzzz" };
// Token: 0x04000FCF RID: 4047
private int _sign;
// Token: 0x04000FD0 RID: 4048
private DateTime _value;
}
}