Search Results for

    Show / Hide Table of Contents

    Class AuthorizationRule

    Represents a rule that defines an expression evaluating caller's identity claims or message content.

    Inheritance
    object
    DomainObjectBase
    AuthorizationRule
    AuthorizationRuleDefinition
    Implements
    IValidator
    IExtensibleDataObject
    IFolderEntity
    IEquatable<AuthorizationRule>
    Inherited Members
    DomainObjectBase.IsValidElementName(string)
    DomainObjectBase.AreEqual(DateTime?, DateTime?)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.IsMajorObject
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    public class AuthorizationRule : DomainObjectBase, IValidator, IExtensibleDataObject, IFolderEntity, IEquatable<AuthorizationRule>

    Constructors

    AuthorizationRule()

    Instanciates and empty object.

    Declaration
    public AuthorizationRule()

    Properties

    Description

    Gets or sets rule description.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public string Description { get; set; }
    Property Value
    Type Description
    string

    Expression

    Gets or sets expression that defines rule's execution logic.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public AuthorizationExpressionBase Expression { get; set; }
    Property Value
    Type Description
    AuthorizationExpressionBase

    FolderId

    Gets or sets identifier of the folder where rule is stored.

    Declaration
    [DataMember(EmitDefaultValue = false)]
    public int? FolderId { get; set; }
    Property Value
    Type Description
    int?

    FriendlyName

    Gets or sets rule's friendly name.

    Declaration
    [DataMember(Name = "Name", EmitDefaultValue = false)]
    public string FriendlyName { get; set; }
    Property Value
    Type Description
    string

    IsEnabled

    Gets or sets flag indicating that rule is enabled.

    Declaration
    [DataMember]
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    Methods

    Equals(AuthorizationRule)

    Determines whether the specified domain object is equal to the current object.

    Declaration
    public bool Equals(AuthorizationRule other)
    Parameters
    Type Name Description
    AuthorizationRule other

    The object to compare with the current object.

    Returns
    Type Description
    bool

    True, if objects are equal. False, if objects are not equal.

    Equals(object)

    Determines whether the specified domain object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    IExtensibleDataObject
    IFolderEntity
    IEquatable<T>
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation