83 lines
2.7 KiB
C#
83 lines
2.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Runtime.Remoting.Metadata
|
|
{
|
|
/// <summary>Provides default functionality for all SOAP attributes.</summary>
|
|
// Token: 0x0200042A RID: 1066
|
|
[ComVisible(true)]
|
|
public class SoapAttribute : Attribute
|
|
{
|
|
/// <summary>Gets or sets a value indicating whether the type must be nested during SOAP serialization.</summary>
|
|
/// <returns>true if the target object must be nested during SOAP serialization; otherwise, false.</returns>
|
|
// Token: 0x17000829 RID: 2089
|
|
// (get) Token: 0x0600294D RID: 10573 RVA: 0x0008519C File Offset: 0x0008339C
|
|
// (set) Token: 0x0600294E RID: 10574 RVA: 0x000851A4 File Offset: 0x000833A4
|
|
public virtual bool Embedded
|
|
{
|
|
get
|
|
{
|
|
return this._nested;
|
|
}
|
|
set
|
|
{
|
|
this._nested = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether the target of the current attribute will be serialized as an XML attribute instead of an XML field.</summary>
|
|
/// <returns>true if the target object of the current attribute must be serialized as an XML attribute; false if the target object must be serialized as a subelement.</returns>
|
|
// Token: 0x1700082A RID: 2090
|
|
// (get) Token: 0x0600294F RID: 10575 RVA: 0x000851B0 File Offset: 0x000833B0
|
|
// (set) Token: 0x06002950 RID: 10576 RVA: 0x000851B8 File Offset: 0x000833B8
|
|
public virtual bool UseAttribute
|
|
{
|
|
get
|
|
{
|
|
return this._useAttribute;
|
|
}
|
|
set
|
|
{
|
|
this._useAttribute = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the XML namespace name.</summary>
|
|
/// <returns>The XML namespace name under which the target of the current attribute is serialized.</returns>
|
|
// Token: 0x1700082B RID: 2091
|
|
// (get) Token: 0x06002951 RID: 10577 RVA: 0x000851C4 File Offset: 0x000833C4
|
|
// (set) Token: 0x06002952 RID: 10578 RVA: 0x000851CC File Offset: 0x000833CC
|
|
public virtual string XmlNamespace
|
|
{
|
|
get
|
|
{
|
|
return this.ProtXmlNamespace;
|
|
}
|
|
set
|
|
{
|
|
this.ProtXmlNamespace = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002953 RID: 10579 RVA: 0x000851D8 File Offset: 0x000833D8
|
|
internal virtual void SetReflectionObject(object reflectionObject)
|
|
{
|
|
this.ReflectInfo = reflectionObject;
|
|
}
|
|
|
|
// Token: 0x04000FD1 RID: 4049
|
|
private bool _nested;
|
|
|
|
// Token: 0x04000FD2 RID: 4050
|
|
private bool _useAttribute;
|
|
|
|
/// <summary>The XML namespace to which the target of the current SOAP attribute is serialized.</summary>
|
|
// Token: 0x04000FD3 RID: 4051
|
|
protected string ProtXmlNamespace;
|
|
|
|
/// <summary>A reflection object used by attribute classes derived from the <see cref="T:System.Runtime.Remoting.Metadata.SoapAttribute" /> class to set XML serialization information.</summary>
|
|
// Token: 0x04000FD4 RID: 4052
|
|
protected object ReflectInfo;
|
|
}
|
|
}
|