Class AuthorizationRuleDefinition
Represents an authorization / access rule definition. This class allow to create, update, or delete all related entities (properties) with a single service call.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AuthorizationRuleDefinition : AuthorizationRule, IValidator, IExtensibleDataObject, IFolderEntity, IEquatable<AuthorizationRule>
Constructors
AuthorizationRuleDefinition()
Instantiates an empty authorization rule definition.
Declaration
public AuthorizationRuleDefinition()
AuthorizationRuleDefinition(AuthorizationRule)
Initializes new instance from provided authorization rule entity.
Declaration
public AuthorizationRuleDefinition(AuthorizationRule rule)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationRule | rule | Authorization rule be initialized from. |
Properties
Properties
Gets collection of general properties assigned to the service.
Declaration
public Collection<Property> Properties { get; }
Property Value
Type | Description |
---|---|
Collection<Property> |
Methods
CopyFrom(AuthorizationRule)
Populates current instance from provided authorization rule entity.
Declaration
public void CopyFrom(AuthorizationRule rule)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationRule | rule | Authorization rule to be initialized from. |