Table of Contents

Class ActionDescriptor.Argument

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

Represents an argument of an action, consisting of a name, type, and description.

public class ActionDescriptor.Argument : Descriptor, IEquatable<Descriptor>, IComparable<Descriptor>
Inheritance
ActionDescriptor.Argument
Implements
Inherited Members

Constructors

Argument(string, Type, string)

Initializes a new instance of the ActionDescriptor.Argument class.

public Argument(string name, Type type, string description)

Parameters

name string

The name of the argument.

type Type

The type of the argument.

description string

The description of the argument.

Argument(string, Type, string, object)

Initializes a new instance of the ActionDescriptor.Argument class.

public Argument(string name, Type type, string description, object defaultValue)

Parameters

name string

The name of the argument.

type Type

The type of the argument.

description string

The description of the argument.

defaultValue object

The default value for this argument.

Properties

DefaultValue

Gets the default value of the argument.

public object DefaultValue { get; }

Property Value

object

The default value or null if no default value is defined.

Type

Gets the type of the argument.

public Type Type { get; }

Property Value

Type

The argument type.