Files
crtr/Assets/Plugins/Cryville.Common.Compat.xml
2025-06-21 01:39:47 +08:00

75 lines
4.2 KiB
XML

<?xml version="1.0"?>
<doc>
<assembly>
<name>Cryville.Common.Compat</name>
</assembly>
<members>
<member name="T:System.Runtime.CompilerServices.IsExternalInit">
<summary>
Marks a property setter as external-init.
</summary>
</member>
<member name="T:Cryville.Common.Compat.LPUTF8StrMarshaler">
<summary>
Marshals a UTF-8 string to a .NET Framework string, and vice versa.
</summary>
<remarks>
<para>This marshaler is used as a fallback as <c>UnmanagedType.LPUTF8Str</c> is not available before .NET Framework 4.7.</para>
</remarks>
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.GetInstance(System.String)">
<summary>
Returns an instance of the custom marshaler.
</summary>
<param name="cookie">String "cookie" parameter that can be used by the custom marshaler.</param>
<returns>An instance of the custom marshaler.</returns>
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.CleanUpManagedData(System.Object)">
<inheritdoc />
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.CleanUpNativeData(System.IntPtr)">
<inheritdoc />
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.GetNativeDataSize">
<inheritdoc />
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.MarshalManagedToNative(System.Object)">
<inheritdoc />
</member>
<member name="M:Cryville.Common.Compat.LPUTF8StrMarshaler.MarshalNativeToManaged(System.IntPtr)">
<inheritdoc />
</member>
<member name="T:Cryville.Common.Compat.ThrowHelper">
<summary>
Provides <see langword="static" /> methods for throwing common exceptions.
</summary>
</member>
<member name="M:Cryville.Common.Compat.ThrowHelper.ThrowIfNull(System.Object,System.String)">
<summary>
Throws an <see cref="T:System.ArgumentNullException" /> if <paramref name="argument" /> is <see langword="null" />.
</summary>
<param name="argument">The reference type argument to validate as non-null.</param>
<param name="paramName">The name of the parameter with which <paramref name="argument" /> corresponds. If you omit this parameter, the name of <paramref name="argument" /> is used.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="argument" /> is <see langword="null" />.</exception>
</member>
<member name="M:Cryville.Common.Compat.ThrowHelper.ThrowIfNullOrEmpty(System.String,System.String)">
<summary>
Throws an exception if <paramref name="argument" /> is <see langword="null" /> or empty.
</summary>
<param name="argument">The string argument to validate as non-<see langword="null" /> and non-empty.</param>
<param name="paramName">The name of the parameter with which <paramref name="argument" /> corresponds.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="argument" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException"><paramref name="argument" /> is empty.</exception>
</member>
<member name="M:Cryville.Common.Compat.ThrowHelper.ThrowIfNullOrWhiteSpace(System.String,System.String)">
<summary>
Throws an exception if <paramref name="argument" /> is <see langword="null" />, empty, or consists only of white-space characters.
</summary>
<param name="argument">The string argument to validate.</param>
<param name="paramName">The name of the parameter with which <paramref name="argument" /> corresponds.</param>
<exception cref="T:System.ArgumentNullException"><paramref name="argument" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException"><paramref name="argument" /> is empty or consists only of white-space characters.</exception>
</member>
</members>
</doc>