| AbstractFilePreTweaker Methods |
The AbstractFilePreTweaker type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Tweak |
This method should be overridden to provide an implementation of the processing
performed before the native file is parsed by the framework.
| |
| TweakFilePreParsing |
Default implementation of the INativeFileTweaker.TweakFilePreParsing method that will check to see if
the file will be tweaked (see WillFileBeTweaked), and whether the encoding has been
detected during sniffing if RequireValidEncoding is true and then call Tweak. Derived classes
should normally override the Tweak method instead.
| |
| WillFileBeTweaked |
This method can optionally be overridden to let the framework know whether the tweaking operation will actually
modify the file. This helps the framework know whether a backup of the file should be created and
can allow read-only files to be processed without error if no tweaking is required. By default, this
returns true.
|