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 RestEndpointPublicationGroupAuthoringPolicyDescriptorInheritance
Section titled “Inheritance”object ← RestEndpointPublicationGroupAuthoringPolicyDescriptor
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Remarks
Section titled “Remarks”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.
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”AllowMultiplePublishedCandidates
Section titled “ AllowMultiplePublishedCandidates”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; }Property Value
Section titled “Property Value”AllowedAuthoringStyles
Section titled “ AllowedAuthoringStyles”Gets the normalized authoring styles that the policy explicitly allows.
public IReadOnlyList<string> AllowedAuthoringStyles { get; }Property Value
Section titled “Property Value”BehaviorId
Section titled “ BehaviorId”Gets the stable behavior identifier that this authoring policy applies to.
public string BehaviorId { get; }Property Value
Section titled “Property Value”DisallowedAuthoringStyles
Section titled “ DisallowedAuthoringStyles”Gets the normalized authoring styles that the policy explicitly disallows.
public IReadOnlyList<string> DisallowedAuthoringStyles { get; }Property Value
Section titled “Property Value”IsConfigured
Section titled “ IsConfigured”Gets a value indicating whether this authoring policy came from explicit host configuration.
public bool IsConfigured { get; }Property Value
Section titled “Property Value”PreferredAuthoringStyle
Section titled “ PreferredAuthoringStyle”Gets the normalized preferred authoring style when the policy declares one.
public string? PreferredAuthoringStyle { get; }