System.Resources.Extensions Provides APIs similar to that can read and deserialize resource data written by either or . Initializes a new instance of the class that reads the specified resources stream. The input stream. Initializes a new instance of the class that reads the specified named resource file. The path and name of the resource file to be read. Releases all operating system resources associated with this object. Releases the resources used by the . Returns an enumerator for this object. An enumerator for this object. Returns an enumerator for this object. An enumerator for this object. Provides APIs similar to that can write pre-serialized resource data. Initializes a new instance of the class that writes the resources to the provided stream. The output stream. is not writable. is . Initializes a new instance of the class that writes the resources to the specified file. The output file name. The is . Adds a resource of the specified type represented by a value that is passed to the type's constructor when reading the resource. The resource name. The value of the resource in form understood by the type's constructor. The assembly qualified type name of the resource. An optional value that indicates whether, after resources have been written, the stream should be closed () or left open (, the default value). , , or is . The object's type is , but it is unseekable. Adds a resource of the specified type, represented by a byte array, that will be passed to when reading the resource. The resource name. A byte array containing the value of the resource in Byte[] form understood by . The optional assembly qualified type name of the resource. The default value is . or is . Adds a byte array as a named resource to the list of resources to be written to a file. The resource name. The byte array to add as a resource. The name is . The resource list is . Adds a as a named resource to the list of resources to be written to a file. The resource name. The stream to add as a resource. An optional value that indicates whether, after resources have been written, the stream should be closed () or left open (, the default value). Adds an object as a named resource to the list of resources to be written to a file. The resource name. The object to add as a resource. The name is . The resource list is . The stream is unseekable. Adds a string as a named resource to the list of resources to be written to a file. The resource name. The string to add as a resource. The name is . The resource list is . Adds a resource of the specified type represented by a string value. The resource name. The value of the resource in string form understood by the type's . The assembly qualified type name of the resource. Adds a resource of the specified type represented by a byte array that is passed to the type's when reading the resource. The resource name. A byte array containing the resource in a form understood by the type's . The assembly qualified type name of the resource. Calls to dispose the resource writer. The resource list is . Calls to write out all resources to the output stream in the system default format. The resource list is . Writes all resources to the output stream. The resource list is .