Class ObjectExtensions
- Namespace
- CapyKit.Extensions
- Assembly
- CapyKit.dll
An class containing extenstions that apply to any object type.
public static class ObjectExtensions
- Inheritance
-
ObjectExtensions
- Inherited Members
Methods
UpdateProperties(object, object)
An object extension method that updates the properties of a given target
object with the values from a given source object.
public static void UpdateProperties(this object target, object source)
Parameters
UpdateProperties<T>(T, T)
An object extension method that updates the properties of a given target
object with the values from a given source object.
public static void UpdateProperties<T>(this T target, T source)
Parameters
targetTThe target object to act on.
sourceTSource for the new property values.
Type Parameters
TGeneric type parameter.