• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MailMergeTemplateAnalysis

Reports the static structure and source compatibility of a mail-merge template.

Inheritance
object
MailMergeTemplateAnalysis
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class MailMergeTemplateAnalysis

Properties

Diagnostics

Gets structural and source-compatibility diagnostics.

Declaration
public IReadOnlyList<MailMergeDiagnostic> Diagnostics { get; }
Property Value
Type Description
IReadOnlyList<MailMergeDiagnostic>

DuplicateFields

Gets distinct fields that occur more than once.

Declaration
public IReadOnlyList<string> DuplicateFields { get; }
Property Value
Type Description
IReadOnlyList<string>

Fields

Gets scalar field occurrences in first-occurrence order.

Declaration
public IReadOnlyList<MailMergeFieldInfo> Fields { get; }
Property Value
Type Description
IReadOnlyList<MailMergeFieldInfo>

IsValid

Gets a value indicating whether no error-level diagnostics were found.

Declaration
public bool IsValid { get; }
Property Value
Type Description
bool

MissingFields

Gets distinct fields not satisfied by the supplied data source.

Declaration
public IReadOnlyList<string> MissingFields { get; }
Property Value
Type Description
IReadOnlyList<string>

Regions

Gets repeating regions in opening-marker order.

Declaration
public IReadOnlyList<MailMergeRegionInfo> Regions { get; }
Property Value
Type Description
IReadOnlyList<MailMergeRegionInfo>

UnusedRegions

Gets distinct regions not satisfied by the supplied data source.

Declaration
public IReadOnlyList<string> UnusedRegions { get; }
Property Value
Type Description
IReadOnlyList<string>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX