Adds a string resource to the list of resources to be written.
name The name of the resource. value The value of the resource.
The resource is not written until ResourceWriter.Generate is called.
You can retrieve the resources written by the ResourceWriter.AddResource(string, string) method by calling the ResourceManager.GetString(string) method.