예제 #1
0
 public PreviewPart(string previewPartId, PreviewProperty[] previewProperties, SourceDocument sourceDocument, string sourceLangCode, string targetLangCode, PreviewContent sourceContent, PreviewContent targetContent)
 {
     PreviewPartId     = previewPartId;
     PreviewProperties = previewProperties;
     SourceDocument    = sourceDocument;
     SourceLangCode    = sourceLangCode;
     TargetLangCode    = targetLangCode;
     SourceContent     = sourceContent;
     TargetContent     = targetContent;
 }
예제 #2
0
 public PreviewPartWithFocusedRange(string previewPartId, PreviewProperty[] previewProperties, SourceDocument sourceDocument, string sourceLangCode, string targetLangCode, PreviewContent sourceContent, PreviewContent targetContent, FocusedRange sourceFocusedRange, FocusedRange targetFocusedRange)
     : base(previewPartId, previewProperties, sourceDocument, sourceLangCode, targetLangCode, sourceContent, targetContent)
 {
     SourceFocusedRange = sourceFocusedRange;
     TargetFocusedRange = targetFocusedRange;
 }