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.2343.0)
Syntax
public abstract class AbstractFilePostTweaker : IFilePostTweaker, 
	IFileTweaker

The AbstractFilePostTweaker type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractFilePostTweaker
Create an instance where Enabled is true and RequireValidEncoding is true.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
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
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