Click or drag to resize
AbstractFilePostTweaker Class
Abstract class that provides the base functionality for the Post Tweaker components. Overrides the Tweak method to perform the work of modifying the file.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApiAbstractFilePostTweaker
    Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApiRegExFilePostTweaker

Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public abstract class AbstractFilePostTweaker

The AbstractFilePostTweaker type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractFilePostTweaker
Create an instance where Enabled is true and RequireValidEncoding is true.
Top
Properties
  NameDescription
Public propertyEnabled
Controls whether the tweaker is run during parsing. Default is true.
Public propertyMessageReporter
The default implementation stores the message reporter in a field.
Protected propertyName
The property contains a name for the file tweaker that can be overridden in derived classes. This name is used in error messages.
Public propertyRequireValidEncoding
This property governs whether the File Tweaker requires encoding information before it will tweak a file. This may be needed to ensure that the file the tweaker uses the correct encoding.
Top
Methods
  NameDescription
Protected methodTweak
This method should be overridden to provide an implementation of the processing that is performed after the native target file has been generated by the framework.
Public methodTweakFilePostWriting
Default implementation of the INativeFileTweaker.TweakFilePostWriting method that calls Tweak. Derived classes should normally override the Tweak method instead.
Top
Examples
For an example of the use of this class see RegExFilePostTweaker.
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments