AdfDestinationPolicy
OfficeIMO.Adf
Caller-defined node and mark support for a named destination product and version.
Inheritance
- object
- AdfDestinationPolicy
Remarks
This policy restricts the selected structural or full-schema contract; it does not replace it. A null list imposes no restriction for that category. An empty list permits none. The node list applies to content nodes, including nested content, rather than the document root. Lists are copied at construction. Validation does not alter the document or contact the destination.
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Constructors
public AdfDestinationPolicy(string name, IEnumerable<string>? allowedNodeTypes = null, IEnumerable<string>? allowedMarkTypes = null) #Creates a destination policy from the supported content node and mark type names.
Parameters
- name string
- Caller-owned product/version label, such as Jira Cloud with a qualification date.
- allowedNodeTypes System.Collections.Generic.IEnumerable<string>? = null
- Supported content node types, compared case-sensitively, or null to allow any type.
- allowedMarkTypes System.Collections.Generic.IEnumerable<string>? = null
- Supported mark types, compared case-sensitively, or null to allow any type.
Inherited Methods
Properties
public string Name { get; } #Gets the caller-owned destination product/version label used in diagnostics.
public IReadOnlyList<string>? AllowedNodeTypes { get; } #Gets the immutable supported content node names, or null when nodes are unrestricted.
public IReadOnlyList<string>? AllowedMarkTypes { get; } #Gets the immutable supported mark names, or null when marks are unrestricted.