Click or drag to resize
Ranorex

Capability Class

A capability is a logical grouping of actions and attributes which belong together.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreDescriptor
    Ranorex.CoreCapability
      Ranorex.CoreRole

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[SerializableAttribute]
public class Capability : Descriptor, IEquatable<Capability>

The Capability type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyActions
A list of actions, provided as a by-name dictionary.
Public propertyAttributes
A list of attributes, provided as a by-name dictionary.
Public propertyContentAttributeName
The name of the attribute for this capability which represents the content of an element. or null if the capability has no content attribute.
Public propertyDescription
The description of instance the descriptor refers to.
(Inherited from Descriptor.)
Public propertyDisplayName
The name of the instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.)
Public propertyIcon
An icon representing the capability. Should be 16x16 pixels.
Public propertyIsUsefulContainer
If true, the capability represents, from a user interface perspective, a useful/logical container.
Public propertyLabelAttributeName
The name of the attribute for this capability which acts as a label for an element. or null if the capability has no label attribute.
Public propertyName
The name of the instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.)
Public propertyShortDisplayName
The shorthand display name of this capability.
Public propertyShortName
The shorthand name of this capability.
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current descriptor with another descriptor.
(Inherited from Descriptor.)
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides DescriptorEquals(Object).)
Public methodEquals(Capability)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Descriptor)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Descriptor.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides DescriptorGetHashCode.)
Public methodStatic memberGetPredefinedCapabilities
Returns a list of predefined capabilites.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
To string.
(Overrides DescriptorToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Top
Fields
  NameDescription
Public fieldStatic memberCheckable
Represents a check box that allows the user to select a true or false condition.
Public fieldStatic memberDynamicCapabilityDisplayName
Defines the name for the "Dynamic" capability, providing dynamic attributes and actions of an element.
Top
See Also