ResourceHackerSettings Class

Summary

Resource hacker settings.
Assembly
Cake.ResourceHacker.dll
Namespace
Cake.ResourceHacker
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["ResourceHackerSettings"] class Type type-node

Syntax

public class ResourceHackerSettings : ToolSettings

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
Log FilePath
Filename or CONSOLE or NUL CONSOLE can be abbreviated to CON Logs the details of the operation performed If this switch is omitted, the log will be written to resourcehacker.log
Mask Nullable<Mask>
resource mask - Type,Name,Language commas are mandatory but each of Type, Name & Language are optional
Open FilePath
filename - the name of the file that is to be modified. It should be a Windows PE file (*.exe, *.dll etc) or a compiled or uncompiled resouce file (*.res or *.rc)
Resource FilePath
filename - contains a resource being added to the opened file.
Save FilePath
usually a filename for the new or modified file, but can also be a folder when extracting multiple resources
Script FilePath
filename - contains a multi-command script, NOT a resource script for more info: -help script

Extension Methods

Name Value Summary
Dump<ResourceHackerSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ResourceHackerSettings>(ResourceHackerSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ResourceHackerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ResourceHackerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ResourceHackerSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ResourceHackerSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin