Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

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;
}
}
}
}