Table of Contents

Class ObjectExtensions

Namespace
FoundationaLLM.Core.Utils
Assembly
FoundationaLLM.Core.dll

Contains extension methods for objects.

public static class ObjectExtensions
Inheritance
ObjectExtensions
Inherited Members

Methods

GetPropertyValues(object, List<string>)

Gets the values of a specified set of properties of an object.

public static List<string?> GetPropertyValues(this object obj, List<string> propertyNames)

Parameters

obj object

The object instance.

propertyNames List<string>

The list of property names.

Returns

List<string>