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

40 lines
924 B
C#
Raw Normal View History

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