KGy SOFT

ResXResourceWriterAddAlias Method (String, AssemblyName, Boolean)

KGy SOFT Core Libraries Help
Adds the specified alias to the mapping of aliases.

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public void AddAlias(
	string aliasName,
	AssemblyName assemblyName,
	bool forceWriteImmediately = false
)

Parameters

aliasName
Type: SystemString
The name of the alias.
assemblyName
Type: System.ReflectionAssemblyName
The name of the assembly represented by aliasName.
forceWriteImmediately (Optional)
Type: SystemBoolean
 to write the alias immediately to the .resx file;  just to add it to the inner mapping and write it only when the assembly is referenced for the first time. This parameter is optional.
Default value: .
Exceptions

ExceptionCondition
ArgumentNullExceptionaliasName or assemblyName is .
See Also

Reference