2015-12-26 22:44:43 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace DSInternals.Replication.Model
|
|
|
|
|
{
|
|
|
|
|
public class ReplicationResult
|
|
|
|
|
{
|
|
|
|
|
// TODO: AsReadOnly
|
2016-09-16 15:22:16 +00:00
|
|
|
|
public ReplicationResult(ReplicaObjectCollection objects, bool hasMore, ReplicationCookie cookie, int totalObjectCount)
|
2015-12-26 22:44:43 +00:00
|
|
|
|
{
|
|
|
|
|
this.Objects = objects;
|
|
|
|
|
this.HasMoreData = hasMore;
|
|
|
|
|
this.Cookie = cookie;
|
2016-09-16 15:22:16 +00:00
|
|
|
|
this.TotalObjectCount = totalObjectCount;
|
2015-12-26 22:44:43 +00:00
|
|
|
|
}
|
|
|
|
|
public ReplicaObjectCollection Objects
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
public bool HasMoreData
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
public ReplicationCookie Cookie
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
public int TotalObjectCount
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
private set;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|