Skip to content

Class RestEndpointPublicationGroupAuthoringPolicyDescriptor

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Describes the effective authoring-policy intent for one behavior-level REST publication group.

public sealed class RestEndpointPublicationGroupAuthoringPolicyDescriptor

objectRestEndpointPublicationGroupAuthoringPolicyDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

This descriptor captures authoring-policy intent, not the already-resolved publication outcome. The grouped publication answer remains authoritative for which candidates actually published or were suppressed at runtime.

RestEndpointPublicationGroupAuthoringPolicyDescriptor(string, bool, bool, string?, IReadOnlyList<string>?, IReadOnlyList<string>?)

Section titled “ RestEndpointPublicationGroupAuthoringPolicyDescriptor(string, bool, bool, string?, IReadOnlyList<string>?, IReadOnlyList<string>?)”

Creates a behavior-level REST publication-group authoring policy descriptor.

public RestEndpointPublicationGroupAuthoringPolicyDescriptor(string behaviorId, bool isConfigured = false, bool allowMultiplePublishedCandidates = false, string? preferredAuthoringStyle = null, IReadOnlyList<string>? allowedAuthoringStyles = null, IReadOnlyList<string>? disallowedAuthoringStyles = null)

behaviorId string

The stable behavior identifier that this authoring policy applies to.

isConfigured bool

true when the policy was supplied through host configuration; otherwise false when the runtime is exposing the implicit default policy.

allowMultiplePublishedCandidates bool

true when the policy explicitly allows more than one projection candidate to remain published for the same behavior boundary after authoring-policy enforcement.

preferredAuthoringStyle string?

The normalized preferred authoring style when the policy declares one.

allowedAuthoringStyles IReadOnlyList<string>?

The normalized authoring styles that the policy explicitly allows for this behavior boundary when one or more are declared.

disallowedAuthoringStyles IReadOnlyList<string>?

The normalized authoring styles that the policy explicitly disallows for this behavior boundary when one or more are declared.

Gets a value indicating whether the policy explicitly allows multiple published candidates for the same behavior boundary after authoring-policy enforcement.

public bool AllowMultiplePublishedCandidates { get; }

bool

Gets the normalized authoring styles that the policy explicitly allows.

public IReadOnlyList<string> AllowedAuthoringStyles { get; }

IReadOnlyList<string>

Gets the stable behavior identifier that this authoring policy applies to.

public string BehaviorId { get; }

string

Gets the normalized authoring styles that the policy explicitly disallows.

public IReadOnlyList<string> DisallowedAuthoringStyles { get; }

IReadOnlyList<string>

Gets a value indicating whether this authoring policy came from explicit host configuration.

public bool IsConfigured { get; }

bool

Gets the normalized preferred authoring style when the policy declares one.

public string? PreferredAuthoringStyle { get; }

string?