mirror of
https://github.com/MichaelGrafnetter/DSInternals
synced 2024-12-13 01:46:43 +00:00
40 lines
924 B
C#
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;
|
|
}
|
|
}
|
|
}
|