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
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|
System.Collections.ObjectModel.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. |
Implements
System.Runtime.Serialization.IExtensibleDataObject
System.IEquatable<T>