interface MAGES::IMerger

Overview

Interface for merging two objects of the same type. More…

interface IMerger
{
    // properties

    Type TargetType;

    // methods

    object Merge(object obj1, object obj2);
};

// direct descendants

class NumericMerger;
class StringMerger;

Detailed Documentation

Interface for merging two objects of the same type.

Properties

Type TargetType

Gets target type of the merger.

Methods

object Merge(object obj1, object obj2)

Merge two objects of the same type.

Parameters:

obj1

The first object.

obj2

The second object.

Returns:

The merged object.