C# Class Fody.VersionResources.VersionResourceWriter

Writes VersionInfo data to a Stream.
Exibir arquivo Open project: Fody/Stamp Class Usage Examples

Public Methods

Method Description
VersionResourceWriter ( Stream stream ) : System

Initializes a new instance of the VersionResourceReader class.

Write ( VersionResource resource ) : void

Writes a VersionResource object to the current Stream.

Private Methods

Method Description
WriteHeader ( BinaryWriter writer, long length, long valueLength, VersionDataType binary, string key ) : void
WriteStringFileInfo ( BinaryWriter writer, VersionResource resource ) : void
WriteVarFileInfo ( BinaryWriter writer, VersionResource resource ) : void

Method Details

VersionResourceWriter() public method

Initializes a new instance of the VersionResourceReader class.
public VersionResourceWriter ( Stream stream ) : System
stream Stream /// The which represents the embedded resource. ///
return System

Write() public method

Writes a VersionResource object to the current Stream.
public Write ( VersionResource resource ) : void
resource VersionResource /// The to write. ///
return void