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
userGroupIdintkeyCapabilityKey
Properties
Key
public CapabilityKey Key { get; set; }
Property Value
UserGroupId
public int UserGroupId { get; set; }
Property Value
Methods
Equals(CapabilityAccess?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CapabilityAccess? other)
Parameters
otherCapabilityAccessAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
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
keystring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.