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

75 lines
1.7 KiB
C#

//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Hosting
{
using System;
using System.Runtime.Serialization;
using System.Runtime;
[DataContract]
[Fx.Tag.XamlVisible(false)]
public sealed class BookmarkScopeInfo
{
Guid id;
string temporaryId;
internal BookmarkScopeInfo(Guid id)
{
this.Id = id;
}
internal BookmarkScopeInfo(string temporaryId)
{
this.TemporaryId = temporaryId;
}
public bool IsInitialized
{
get
{
return this.TemporaryId == null;
}
}
public Guid Id
{
get
{
return this.id;
}
private set
{
this.id = value;
}
}
public string TemporaryId
{
get
{
return this.temporaryId;
}
private set
{
this.temporaryId = value;
}
}
[DataMember(EmitDefaultValue = false, Name = "Id")]
internal Guid SerializedId
{
get { return this.Id; }
set { this.Id = value; }
}
[DataMember(EmitDefaultValue = false, Name = "TemporaryId")]
internal string SerializedTemporaryId
{
get { return this.TemporaryId; }
set { this.TemporaryId = value; }
}
}
}