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

40 lines
924 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, int totalObjectCount)
{
this.Objects = objects;
this.HasMoreData = hasMore;
this.Cookie = cookie;
this.TotalObjectCount = totalObjectCount;
}
public ReplicaObjectCollection Objects
{
get;
private set;
}
public bool HasMoreData
{
get;
private set;
}
public ReplicationCookie Cookie
{
get;
private set;
}
public int TotalObjectCount
{
get;
private set;
}
}
}