Show / Hide Table of Contents

Class GenericPermissionChangeset

Represents the changeset of generic permission.

Inheritance
System.Object
GenericPermissionChangeset
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Models
Assembly: Relativity.Testing.Framework.dll
Syntax
public class GenericPermissionChangeset

Properties

| Improve this Doc View Source

Item[String]

Updates the GroupPermissionsChangeset.

Declaration
public GenericPermissionChangeset this[string name] { get; }
Parameters
Type Name Description
System.String name

The Name.

Property Value
Type Description
GenericPermissionChangeset

An instance of GroupPermissionsChangeset.

Methods

| Improve this Doc View Source

Disable()

Disables the permission.

Declaration
public GroupPermissionsChangeset Disable()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

DisableAll()

Disables the permission and all its child permissions.

Declaration
public GroupPermissionsChangeset DisableAll()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Do(Action<GenericPermissionChangeset>)

Executes the specified action that can modify the permission changeset.

Declaration
public GroupPermissionsChangeset Do(Action<GenericPermissionChangeset> action)
Parameters
Type Name Description
System.Action<GenericPermissionChangeset> action

The action.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

Enable()

Enables the permission.

Declaration
public GroupPermissionsChangeset Enable()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

EnableAll()

Enables the permission and all its child permissions.

Declaration
public GroupPermissionsChangeset EnableAll()
Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

EnableWith(IEnumerable<String>)

Enables the permission and all its child permissions with particular names.

Declaration
public GroupPermissionsChangeset EnableWith(IEnumerable<string> childPermissionNames)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> childPermissionNames

The child permission names.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

| Improve this Doc View Source

EnableWith(String[])

Enables the permission and all its child permissions with particular names.

Declaration
public GroupPermissionsChangeset EnableWith(params string[] childPermissionNames)
Parameters
Type Name Description
System.String[] childPermissionNames

The child permission names.

Returns
Type Description
GroupPermissionsChangeset

An instance of GroupPermissionsChangeset.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX