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
Name
The simple name of this property.
string Name { get; }
Property Value
ValueType
The stored value type of this property.
Type ValueType { get; }
Property Value
Methods
GetValue(object)
Gets the property value in the specified instance.
object? GetValue(object instance)
Parameters
instance
objectA object that supports this property.
Returns
SetValue(object, object?)
Sets the new property value in the specified instance.
void SetValue(object instance, object? value)