Table of Contents

Class MemberArgument

Namespace
Cuemon.Reflection
Assembly
Cuemon.Core.dll

Represent the argument given to a member in the context of reflection.

public class MemberArgument
Inheritance
Object
MemberArgument

Constructors

MemberArgument(String, Object, Int32)

Initializes a new instance of the MemberArgument class.

public MemberArgument(string name, object value, int priority = 0)

Parameters

name String

The name of the parameter.

value Object

The argument value.

priority Int32

The priority of this member when performing filtering and/or ordering.

Exceptions

System.ArgumentNullException

name cannot be null.

Properties

Name

Gets the name of a parameter.

public string Name { get; }

Property Value

String

The name of a parameter.

Priority

Gets or sets the priority of this member when performing filtering and/or ordering.

public int Priority { get; set; }

Property Value

Int32

The priority of this member when performing filtering and/or ordering.

Value

Gets or sets the value of the argument.

public object Value { get; set; }

Property Value

Object

The value of the argument.

Methods

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

String

A System.String that represents this instance.

See Also