ResXResourceWriterGenerate Method

Flushes all pending content into the output file, TextWriter or Stream.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public void Generate()

Implements

IResourceWriterGenerate

Remarks

If used in a using construct, it is not needed to call this method explicitly (see the example at ResXResourceWriter). Close and Dispose methods call it internally if necessary.

Exceptions

InvalidOperationExceptionThe resource has already been saved.
ObjectDisposedExceptionThe writer has already been disposed.

See Also