1. Rule

Class Rule

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Describes a rule.

Inheritance
System.Object
Rule
Implements
Namespace: Stylelabs.M.Sdk.Models.Policies
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class Rule : object, IRule

Properties

Conditions

Non null collection of conditions which needs to be fulfilled uniformly in order to trigger this rule (i.e. conditions are combined with "AND" logical operator).

Declaration
public IList<ICondition> Conditions { get; set; }
Property Value
TypeDescription
IList<ICondition>

CreatedByLoggedOnUser

If set to true, this rule only applies to entities created by the logged on user.

Declaration
public bool CreatedByLoggedOnUser { get; set; }
Property Value
TypeDescription
System.Boolean

DefinitionNames

Non null collection entity definition resource links which define the entity definitions to which this policy applies.

Declaration
public IList<string> DefinitionNames { get; set; }
Property Value
TypeDescription
IList<System.String>

Identifier

Unique identifier of the rule, usually GUID string. This identifier is automatically generated by the system.

Declaration
public Guid? Identifier { get; }
Property Value
TypeDescription
System.Nullable<Guid>

IsSystemOwned

Indicates if this object is owned by the system and cannot be updated by users.

Declaration
public bool IsSystemOwned { get; set; }
Property Value
TypeDescription
System.Boolean

Permissions

Non null collection of permissions this rule grands, the permissions are simple string constants recognized by the system.

Declaration
public IList<string> Permissions { get; set; }
Property Value
TypeDescription
IList<System.String>

Type

The type of the rule. Indicates if this object is owned by the system and cannot be updated by users.

Declaration
public RuleType Type { get; set; }
Property Value
TypeDescription
RuleType

Methods

SetIdentifier(Nullable<Guid>)

Declaration
public void SetIdentifier(Guid? guid)
Parameters
TypeNameDescription
System.Nullable<Guid>guid

Implements

この記事を改善するための提案がある場合は、 お知らせください!