Search Results for

    Show / Hide Table of Contents

    Interface IBilingualContentMessageReporter

    Means for bilingual content processing components to communicate non-fatal issues with associated locations to the framework.

    Inherited Members
    IBasicMessageReporter.ReportMessage(object, string, ErrorLevel, string, string)
    Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
    Assembly: Sdl.FileTypeSupport.Framework.Core.dll
    Syntax
    public interface IBilingualContentMessageReporter : IBasicMessageReporter

    Methods

    ReportMessage(object, string, ErrorLevel, string, TextLocation, TextLocation)

    Used by bilingual content processors to report a non-critical issue with an associated range or location in the bilingual object model.

    Declaration
    void ReportMessage(object source, string origin, ErrorLevel level, string message, TextLocation fromLocation, TextLocation uptoLocation)
    Parameters
    Type Name Description
    object source

    The component the message originates from. Components typically pass this as parameter.

    string origin

    The description of the action/component from which this message originated.

    ErrorLevel level

    Severity of the message.

    string message

    The actual message text.

    TextLocation fromLocation

    Start of the content range that the message refers to.

    TextLocation uptoLocation

    The end of the content range that the message refers to. This parameter is optional; it may be null or the same object as the one from the location, in which case the message is interpreted as referring to a single location rather than a range.

    Remarks

    The location objects allow a bilingual content processor to report locations inside the bilingual content model (without requiring modifications to the object model).

    In this article
    • Methods
      • ReportMessage(object, string, ErrorLevel, string, TextLocation, TextLocation)
    Back to top Generated by DocFX