Enum AssemblyExtensions.FileAlreadyExistsBehavior
- Namespace
- Plugin.BaseTypeExtensions
- Assembly
- Plugin.BaseTypeExtensions.dll
Defines behavior when a target file already exists during resource extraction.
public enum AssemblyExtensions.FileAlreadyExistsBehavior
- Extension Methods
Fields
Fail = 3
Throw an exception if the file already exists.
Overwrite = 0
Overwrite the existing file with the new content.
Rename = 2
Rename the new file to avoid conflict by appending a counter.
Skip = 1
Skip extraction and return the existing file.