Click or drag to resize
IPreviewUpdatedViaRefresh Interface
Defines the protocol used for updating real-time previews through a file refresh mechanism, by which the same file gets overwritten and re-loaded in the preview when target content changes in the editor (typically when a segment is confirmed by the user).

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public interface IPreviewUpdatedViaRefresh : IAbstractUpdatablePreview

The IPreviewUpdatedViaRefresh type exposes the following members.

Methods
  NameDescription
Public methodAfterFileRefresh
Called by the host application after the preview file has been successfully overwritten.
Public methodBeforeFileRefresh
Called by the host application when the preview is about to be updated, before the file at TargetFilePath is overwritten.
Top
Properties
  NameDescription
Public propertyTargetFilePath
Full path to the target language file that is overwritten when the preview is refreshed. This path is typically set once and stays unchanged during the lifetime of the preview.
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments