Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class Group

    Represents a group entity.

    Inheritance
    object
    Entity
    Entity<Guid>
    Group
    Inherited Members
    Entity<Guid>.Id
    Entity.CreatedAt
    Entity.UpdatedAt
    Entity.IsNew()
    Entity.SetAsNew()
    Entity.GetHashCode()
    Entity.Equals(object)
    Entity.AddDomainEvent(DomainEvent)
    Entity.GetDomainEvents()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Domain.Security
    Assembly: Innovt.Domain.dll
    Syntax
    public class Group : Entity<Guid>

    Constructors

    | Edit this page View Source

    Group()

    Initializes a new instance of the Group class.

    Declaration
    public Group()

    Properties

    | Edit this page View Source

    Description

    Gets or sets the description of the group.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Gets or sets the name of the group.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Roles

    Gets the list of roles associated with the group.

    Declaration
    public IList<Role> Roles { get; }
    Property Value
    Type Description
    IList<Role>

    Methods

    | Edit this page View Source

    AssignRole(Role)

    Assigns a role to the group.

    Declaration
    public void AssignRole(Role role)
    Parameters
    Type Name Description
    Role role

    The role to assign.

    | Edit this page View Source

    UnAssignRole(Role)

    Unassigns a role from the group.

    Declaration
    public void UnAssignRole(Role role)
    Parameters
    Type Name Description
    Role role

    The role to unassign.

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX