Adds a named resource of type object to the list of resources to be written.
The resource is not written until the IResourceWriter.Generate method is called.
value might have to be serializable, so you might have to provide a type converter, depending on which resource writer is used.