KGy SOFT

ResXResourceWriterAutoGenerateAlias Property

KGy SOFT Core Libraries Help
Gets or sets whether an alias should be auto-generated for referenced assemblies.
Default value: .

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

public bool AutoGenerateAlias { get; set; }

Property Value

Type: Boolean
Exceptions

ExceptionCondition
ObjectDisposedExceptionThe ResXResourceWriter instance is already disposed.
Remarks

If AutoGenerateAlias is , then the assembly names will be referenced by fully qualified names unless the alias names are explicitly added by the AddAlias methods, or when a ResXDataNode added by AddResource(ResXDataNode) method already contains an alias.

If AutoGenerateAlias is , then the assembly aliases are re-generated, even if a ResXDataNode already contains an alias. To use explicitly defined names instead of auto generated names use the AddAlias methods.

See Also

Reference