Table of Contents

Class CapabilityAccess

Namespace
Dynamicweb.CoreUI.CapabilityControl
Assembly
Dynamicweb.CoreUI.dll
public sealed class CapabilityAccess : IEquatable<CapabilityAccess>
Inheritance
CapabilityAccess
Implements
Inherited Members

Constructors

CapabilityAccess(int, CapabilityKey)

public CapabilityAccess(int userGroupId, CapabilityKey key)

Parameters

userGroupId int
key CapabilityKey

Properties

Key

public CapabilityKey Key { get; set; }

Property Value

CapabilityKey

UserGroupId

public int UserGroupId { get; set; }

Property Value

int

Methods

Equals(CapabilityAccess?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(CapabilityAccess? other)

Parameters

other CapabilityAccess

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

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

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Parse(string)

public static CapabilityAccess? Parse(string key)

Parameters

key string

Returns

CapabilityAccess

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

To top