Class IExtendedPropertiesExtensions

Extension methods for IExtendedProperties.

Inheritance
System.Object
IExtendedPropertiesExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public static class IExtendedPropertiesExtensions

Methods

CopyPropertiesFrom(IExtendedProperties, IExtendedProperties)

Copies the value for each key in the Properties collection to the target object, unless the target object already has that key.

Declaration
public static void CopyPropertiesFrom(this IExtendedProperties target, IExtendedProperties source)
Parameters
Type Name Description
IExtendedProperties target

The object to copy values to.

IExtendedProperties source

The object to copy values from.

CopyPropertiesWithOverwriteFrom(IExtendedProperties, IExtendedProperties)

Copies the value for each key in the Properties collection to the target object, overwriting any existing value.

Declaration
public static void CopyPropertiesWithOverwriteFrom(this IExtendedProperties target, IExtendedProperties source)
Parameters
Type Name Description
IExtendedProperties target

The object to copy values to.

IExtendedProperties source

The object to copy values from.