Click or drag to resize
AbstractFilePreTweakerWillFileBeTweaked Method
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.

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
protected virtual bool WillFileBeTweaked(
	string filePath
)

Parameters

filePath
Type: SystemString
The full path to the file that is passed to the method

Return Value

Type: Boolean
A boolean parameter indicating whether or not the particular implementation of the File Tweaker will make any modifications to the file. By default the method just returns true.
See Also
Community
Edit

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