Search Results for

    Show / Hide Table of Contents

    Interface IFilePreTweaker

    This interface should be implemented by any objects that can be used to modify the contents of a native file before being processed through an extractor or after being written by a generator.

    Inherited Members
    IFileTweaker.MessageReporter
    IFileTweaker.Enabled
    Namespace: Sdl.FileTypeSupport.Framework.NativeApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public interface IFilePreTweaker : IFileTweaker
    Remarks

    File tweaker implementations typically derive from Sdl.FileTypeSupport.Framework.Core.Utiltites.NativeApi.AbstractFilePreTweaker rather than implementing this interface explicitly.

    Methods

    TweakFilePreParsing(IPersistentFileConversionProperties, IPropertiesFactory)

    The method called by the framework for each file before parsing begins. It is the responsibility of the class implementing this method to process the file completely.

    Declaration
    void TweakFilePreParsing(IPersistentFileConversionProperties properties, IPropertiesFactory propertiesFactory)
    Parameters
    Type Name Description
    IPersistentFileConversionProperties properties

    Information on the file to be tweaked; can be modified by the implementation, e.g. to add additional dependency files.

    IPropertiesFactory propertiesFactory

    Can be used by the implementation to create dependency file properties, etc.

    On this page

    Back to top Generated by DocFX