using System; using System.Runtime.InteropServices; namespace System.Resources { /// Provides functionality to write resources to an output file or stream. // Token: 0x02000273 RID: 627 [ComVisible(true)] public interface IResourceWriter : IDisposable { /// Adds an 8-bit unsigned integer array as a named resource to the list of resources to be written. /// Name of a resource. /// Value of a resource as an 8-bit unsigned integer array. /// The parameter is null. // Token: 0x06002025 RID: 8229 void AddResource(string name, byte[] value); /// Adds a named resource of type to the list of resources to be written. /// The name of the resource. /// The value of the resource. /// The parameter is null. // Token: 0x06002026 RID: 8230 void AddResource(string name, object value); /// Adds a named resource of type to the list of resources to be written. /// The name of the resource. /// The value of the resource. /// The parameter is null. // Token: 0x06002027 RID: 8231 void AddResource(string name, string value); /// Closes the underlying resource file or stream, ensuring all the data has been written to the file. // Token: 0x06002028 RID: 8232 void Close(); /// Writes all the resources added by the method to the output file or stream. // Token: 0x06002029 RID: 8233 void Generate(); } }