Skip to main content
Namespace: OpenTD.Utility
Assembly: OpenTD.dll
Can be used to perform a shallow copy of an object.

Inheritance

object ← ObjectMapper

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Methods

CopyProperties(object, object)

Copies the matching properties from one object to another.

Parameters

source object The source. target object The target.

GetMatchingProperties(Type, Type)

Parameters

sourceType Type targetType Type

Returns

IList<PropertyMap>