Table of Contents

Class Entity

Namespace
PHCLibrary.Utils
Assembly
PHCLibrary.dll
public class Entity
Inheritance
Entity

Methods

FromObjecttoTypedObject<T>(object)

public static T FromObjecttoTypedObject<T>(object obj)

Parameters

Nome Tipo Descrição
obj object

Returns

T

Type Parameters

T

GetPropertyValue(object, string)

public static object GetPropertyValue(object itemObj, string propertyName)

Parameters

Nome Tipo Descrição
itemObj object
propertyName string

Returns

object

GetPropertyValue<T>(object, string)

public static T GetPropertyValue<T>(object itemObj, string propertyName)

Parameters

Nome Tipo Descrição
itemObj object
propertyName string

Returns

T

Type Parameters

T

SetPropertyValue(ExpandoObject, string, Type)

public static ExpandoObject SetPropertyValue(ExpandoObject itemObj, string propertyName, Type valueType)

Parameters

Nome Tipo Descrição
itemObj ExpandoObject
propertyName string
valueType Type

Returns

ExpandoObject

SetPropertyValue(object, string, object)

public static void SetPropertyValue(object itemObj, string propertyName, object value)

Parameters

Nome Tipo Descrição
itemObj object
propertyName string
value object

ShallowClone(object)

public static object ShallowClone(object itemObj)

Parameters

Nome Tipo Descrição
itemObj object

Returns

object