e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
// <copyright>
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace System.Activities.DynamicUpdate
|
|
{
|
|
using System;
|
|
using System.Activities.XamlIntegration;
|
|
using System.ComponentModel;
|
|
using System.Runtime.Serialization;
|
|
|
|
[TypeConverter(typeof(DynamicUpdateMapItemConverter))]
|
|
[DataContract]
|
|
public class DynamicUpdateMapItem
|
|
{
|
|
internal DynamicUpdateMapItem(int originalId)
|
|
{
|
|
this.OriginalId = originalId;
|
|
}
|
|
|
|
internal DynamicUpdateMapItem(int originalVariableOwnerId, int originalVariableId)
|
|
{
|
|
this.OriginalVariableOwnerId = originalVariableOwnerId;
|
|
this.OriginalId = originalVariableId;
|
|
}
|
|
|
|
[DataMember]
|
|
internal int OriginalId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataMember]
|
|
internal int OriginalVariableOwnerId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
internal bool IsVariableMapItem
|
|
{
|
|
get
|
|
{
|
|
return this.OriginalVariableOwnerId > 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|