DSInternals/Src/DSInternals.Replication.Model/ReplicationResult.cs

39 lines
848 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DSInternals.Replication.Model
{
public class ReplicationResult
{
// TODO: AsReadOnly
public ReplicationResult(ReplicaObjectCollection objects, bool hasMore, ReplicationCookie cookie)
{
this.Objects = objects;
this.HasMoreData = hasMore;
this.Cookie = cookie;
}
public ReplicaObjectCollection Objects
{
get;
private set;
}
public bool HasMoreData
{
get;
private set;
}
public ReplicationCookie Cookie
{
get;
private set;
}
public int TotalObjectCount
{
get;
private set;
}
}
}