Table of Contents

Interface IPropertyInfo

Namespace
NominalSystems
Assembly
NominalSystems.Core.dll

Represents the metadata of a value stored in an object that can be read or written to.


public interface IPropertyInfo

Properties

DeclaringType

The type that declared/contains this property.

Type DeclaringType { get; }

Property Value

Type

Name

The simple name of this property.

string Name { get; }

Property Value

string

ValueType

The stored value type of this property.

Type ValueType { get; }

Property Value

Type

Methods

GetValue(object)

Gets the property value in the specified instance.

object? GetValue(object instance)

Parameters

instance object

A object that supports this property.

Returns

object

SetValue(object, object?)

Sets the new property value in the specified instance.

void SetValue(object instance, object? value)

Parameters

instance object

A object that supports this property.

value object

The new property value to be stored in object.