scripts
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Resources
|
||||
{
|
||||
/// <summary>Provides functionality to write resources to an output file or stream.</summary>
|
||||
// Token: 0x02000273 RID: 627
|
||||
[ComVisible(true)]
|
||||
public interface IResourceWriter : IDisposable
|
||||
{
|
||||
/// <summary>Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written.</summary>
|
||||
/// <param name="name">Name of a resource. </param>
|
||||
/// <param name="value">Value of a resource as an 8-bit unsigned integer array. </param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is null. </exception>
|
||||
// Token: 0x06002025 RID: 8229
|
||||
void AddResource(string name, byte[] value);
|
||||
|
||||
/// <summary>Adds a named resource of type <see cref="T:System.Object" /> to the list of resources to be written.</summary>
|
||||
/// <param name="name">The name of the resource. </param>
|
||||
/// <param name="value">The value of the resource. </param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is null. </exception>
|
||||
// Token: 0x06002026 RID: 8230
|
||||
void AddResource(string name, object value);
|
||||
|
||||
/// <summary>Adds a named resource of type <see cref="T:System.String" /> to the list of resources to be written.</summary>
|
||||
/// <param name="name">The name of the resource. </param>
|
||||
/// <param name="value">The value of the resource. </param>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="name" /> parameter is null. </exception>
|
||||
// Token: 0x06002027 RID: 8231
|
||||
void AddResource(string name, string value);
|
||||
|
||||
/// <summary>Closes the underlying resource file or stream, ensuring all the data has been written to the file.</summary>
|
||||
// Token: 0x06002028 RID: 8232
|
||||
void Close();
|
||||
|
||||
/// <summary>Writes all the resources added by the <see cref="M:System.Resources.IResourceWriter.AddResource(System.String,System.String)" /> method to the output file or stream.</summary>
|
||||
// Token: 0x06002029 RID: 8233
|
||||
void Generate();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user