Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

242 lines
13 KiB
C#

using System;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Runtime.Remoting
{
/// <summary>Provides several methods for using and publishing remoted objects in SOAP format.</summary>
// Token: 0x020004B7 RID: 1207
[Token(Token = "0x20004B7")]
[ComVisible(true)]
public class SoapServices
{
/// <summary>Gets the default XML namespace prefix that should be used for XML encoding of a common language runtime class that has an assembly, but no native namespace.</summary>
/// <returns>The default XML namespace prefix that should be used for XML encoding of a common language runtime class that has an assembly, but no native namespace.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x17000571 RID: 1393
// (get) Token: 0x0600279B RID: 10139 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000571")]
public static string XmlNsForClrTypeWithAssembly
{
[Token(Token = "0x600279B")]
[Address(RVA = "0x25CA930", Offset = "0x25C9730", VA = "0x1825CA930")]
get
{
return null;
}
}
/// <summary>Gets the XML namespace prefix that should be used for XML encoding of a common language runtime class that is part of the mscorlib.dll file.</summary>
/// <returns>The XML namespace prefix that should be used for XML encoding of a common language runtime class that is part of the mscorlib.dll file.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x17000572 RID: 1394
// (get) Token: 0x0600279C RID: 10140 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000572")]
public static string XmlNsForClrTypeWithNs
{
[Token(Token = "0x600279C")]
[Address(RVA = "0x25CA990", Offset = "0x25C9790", VA = "0x1825CA990")]
get
{
return null;
}
}
/// <summary>Gets the default XML namespace prefix that should be used for XML encoding of a common language runtime class that has both a common language runtime namespace and an assembly.</summary>
/// <returns>The default XML namespace prefix that should be used for XML encoding of a common language runtime class that has both a common language runtime namespace and an assembly.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x17000573 RID: 1395
// (get) Token: 0x0600279D RID: 10141 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000573")]
public static string XmlNsForClrTypeWithNsAndAssembly
{
[Token(Token = "0x600279D")]
[Address(RVA = "0x25CA960", Offset = "0x25C9760", VA = "0x1825CA960")]
get
{
return null;
}
}
/// <summary>Returns the common language runtime type namespace name from the provided namespace and assembly names.</summary>
/// <param name="typeNamespace">The namespace that is to be coded.</param>
/// <param name="assemblyName">The name of the assembly that is to be coded.</param>
/// <returns>The common language runtime type namespace name from the provided namespace and assembly names.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="assemblyName" /> and <paramref name="typeNamespace" /> parameters are both either <see langword="null" /> or empty.</exception>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x0600279E RID: 10142 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600279E")]
[Address(RVA = "0x25C9800", Offset = "0x25C8600", VA = "0x1825C9800")]
public static string CodeXmlNamespaceForClrTypeNamespace(string typeNamespace, string assemblyName)
{
return null;
}
// Token: 0x0600279F RID: 10143 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600279F")]
[Address(RVA = "0x25C9B70", Offset = "0x25C8970", VA = "0x1825C9B70")]
private static string GetNameKey(string name, string namspace)
{
return null;
}
// Token: 0x060027A0 RID: 10144 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027A0")]
[Address(RVA = "0x25C9A20", Offset = "0x25C8820", VA = "0x1825C9A20")]
private static string GetAssemblyName(MethodBase mb)
{
return null;
}
/// <summary>Returns XML element information that should be used when serializing the given type.</summary>
/// <param name="type">The object <see cref="T:System.Type" /> for which the XML element and namespace names were requested.</param>
/// <param name="xmlElement">When this method returns, contains a <see cref="T:System.String" /> that holds the XML element name of the specified object type. This parameter is passed uninitialized.</param>
/// <param name="xmlNamespace">When this method returns, contains a <see cref="T:System.String" /> that holds the XML namespace name of the specified object type. This parameter is passed uninitialized.</param>
/// <returns>
/// <see langword="true" /> if the requested values have been set flagged with <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" />; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A1 RID: 10145 RVA: 0x00016140 File Offset: 0x00014340
[Token(Token = "0x60027A1")]
[Address(RVA = "0x25C9BD0", Offset = "0x25C89D0", VA = "0x1825C9BD0")]
public static bool GetXmlElementForInteropType(Type type, out string xmlElement, out string xmlNamespace)
{
return default(bool);
}
/// <summary>Retrieves the XML namespace used during remote calls of the method specified in the given <see cref="T:System.Reflection.MethodBase" />.</summary>
/// <param name="mb">The <see cref="T:System.Reflection.MethodBase" /> of the method for which the XML namespace was requested.</param>
/// <returns>The XML namespace used during remote calls of the specified method.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A2 RID: 10146 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027A2")]
[Address(RVA = "0x25C9CB0", Offset = "0x25C8AB0", VA = "0x1825C9CB0")]
public static string GetXmlNamespaceForMethodCall(MethodBase mb)
{
return null;
}
/// <summary>Retrieves the XML namespace used during the generation of responses to the remote call to the method specified in the given <see cref="T:System.Reflection.MethodBase" />.</summary>
/// <param name="mb">The <see cref="T:System.Reflection.MethodBase" /> of the method for which the XML namespace was requested.</param>
/// <returns>The XML namespace used during the generation of responses to a remote method call.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A3 RID: 10147 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027A3")]
[Address(RVA = "0x25C9D60", Offset = "0x25C8B60", VA = "0x1825C9D60")]
public static string GetXmlNamespaceForMethodResponse(MethodBase mb)
{
return null;
}
/// <summary>Returns XML type information that should be used when serializing the given <see cref="T:System.Type" />.</summary>
/// <param name="type">The object <see cref="T:System.Type" /> for which the XML element and namespace names were requested.</param>
/// <param name="xmlType">The XML type of the specified object <see cref="T:System.Type" />.</param>
/// <param name="xmlTypeNamespace">The XML type namespace of the specified object <see cref="T:System.Type" />.</param>
/// <returns>
/// <see langword="true" /> if the requested values have been set flagged with <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" />; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A4 RID: 10148 RVA: 0x00016158 File Offset: 0x00014358
[Token(Token = "0x60027A4")]
[Address(RVA = "0x25C9E10", Offset = "0x25C8C10", VA = "0x1825C9E10")]
public static bool GetXmlTypeForInteropType(Type type, out string xmlType, out string xmlTypeNamespace)
{
return default(bool);
}
/// <summary>Preloads every <see cref="T:System.Type" /> found in the specified <see cref="T:System.Reflection.Assembly" /> from the information found in the <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" /> associated with each type.</summary>
/// <param name="assembly">The <see cref="T:System.Reflection.Assembly" /> for each type of which to call <see cref="M:System.Runtime.Remoting.SoapServices.PreLoad(System.Type)" />.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A5 RID: 10149 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027A5")]
[Address(RVA = "0x25C9EE0", Offset = "0x25C8CE0", VA = "0x1825C9EE0")]
public static void PreLoad(Assembly assembly)
{
}
/// <summary>Preloads the given <see cref="T:System.Type" /> based on values set in a <see cref="T:System.Runtime.Remoting.Metadata.SoapTypeAttribute" /> on the type.</summary>
/// <param name="type">The <see cref="T:System.Type" /> to preload.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A6 RID: 10150 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027A6")]
[Address(RVA = "0x25C9FA0", Offset = "0x25C8DA0", VA = "0x1825C9FA0")]
public static void PreLoad(Type type)
{
}
/// <summary>Associates the given XML element name and namespace with a run-time type that should be used for deserialization.</summary>
/// <param name="xmlElement">The XML element name to use in deserialization.</param>
/// <param name="xmlNamespace">The XML namespace to use in deserialization.</param>
/// <param name="type">The run-time <see cref="T:System.Type" /> to use in deserialization.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A7 RID: 10151 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027A7")]
[Address(RVA = "0x25CA530", Offset = "0x25C9330", VA = "0x1825CA530")]
public static void RegisterInteropXmlElement(string xmlElement, string xmlNamespace, Type type)
{
}
/// <summary>Associates the given XML type name and namespace with the run-time type that should be used for deserialization.</summary>
/// <param name="xmlType">The XML type to use in deserialization.</param>
/// <param name="xmlTypeNamespace">The XML namespace to use in deserialization.</param>
/// <param name="type">The run-time <see cref="T:System.Type" /> to use in deserialization.</param>
/// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission.</exception>
// Token: 0x060027A8 RID: 10152 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027A8")]
[Address(RVA = "0x25CA6B0", Offset = "0x25C94B0", VA = "0x1825CA6B0")]
public static void RegisterInteropXmlType(string xmlType, string xmlTypeNamespace, Type type)
{
}
// Token: 0x060027A9 RID: 10153 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60027A9")]
[Address(RVA = "0x25C9990", Offset = "0x25C8790", VA = "0x1825C9990")]
private static string EncodeNs(string ns)
{
return null;
}
// Token: 0x0400174A RID: 5962
[Token(Token = "0x400174A")]
private static Hashtable _xmlTypes;
// Token: 0x0400174B RID: 5963
[Token(Token = "0x400174B")]
private static Hashtable _xmlElements;
// Token: 0x0400174C RID: 5964
[Token(Token = "0x400174C")]
private static Hashtable _soapActions;
// Token: 0x0400174D RID: 5965
[Token(Token = "0x400174D")]
private static Hashtable _soapActionsMethods;
// Token: 0x0400174E RID: 5966
[Token(Token = "0x400174E")]
private static Hashtable _typeInfos;
// Token: 0x020004B8 RID: 1208
[Token(Token = "0x20004B8")]
private class TypeInfo
{
// Token: 0x060027AB RID: 10155 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60027AB")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public TypeInfo()
{
}
// Token: 0x0400174F RID: 5967
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400174F")]
public Hashtable Attributes;
// Token: 0x04001750 RID: 5968
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001750")]
public Hashtable Elements;
}
}
}