Udostępnij za pośrednictwem


RuleOnAttribute Class

Definition

Class definition for C# custom attribute RuleOn. This is used for IMS rule notification.

public ref class RuleOnAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class RuleOnAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type RuleOnAttribute = class
    inherit Attribute
Public NotInheritable Class RuleOnAttribute
Inherits Attribute
Inheritance
RuleOnAttribute
Attributes

Constructors

RuleOnAttribute(String)

Constructor for class RuleOn. Specify which domain type (in Guid form) this rule attachs to.

RuleOnAttribute(Type)

Constructor for class RuleOn. Specify which domain type this rule attachs to.

Properties

AttachDomainType

Type of the class that this rule is attached to

AttachDomainTypeId

Id of the domain type that this rule is attached to

FireTime

Gets/Sets the FireTime property

InitiallyDisabled

Flag indicating that the rule should be initially disabled when the domain model is loaded. Disabled rules can be enabled by calling RuleManager.EnableRule.

Priority

Priority order for the rules to determinine rule firing order. Lower (including negative) numbers fire before higher numbers. Default is 0

Applies to