/// <summary> /// Initializes a new instance of the <see cref="SyncRequestServerOperation"/> class. /// </summary> /// <param name="instanceKey"> /// The instance key. /// </param> /// <param name="syncKey"> /// The synchronize key. /// </param> /// <param name="syncOptions"> /// The synchronize options. /// </param> /// <param name="theDelegate"> /// The delegate. /// </param> public SyncRequestServerOperation( string instanceKey, string syncKey, SyncOption syncOptions, ISyncRequestDelegate theDelegate) : this(syncOptions, theDelegate) { this.SyncKey = syncKey; this.InstanceKey = instanceKey; }
/// <summary> /// Initializes a new instance of the <see cref="SyncRequestServerOperation"/> class. /// </summary> /// <param name="instanceKey"> /// The instance key. /// </param> /// <param name="syncKey"> /// The synchronize key. /// </param> /// <param name="syncKeyChildIndex"> /// Index of the synchronize key child. /// </param> /// <param name="theDelegate"> /// The delegate. /// </param> public SyncRequestServerOperation( string instanceKey, string syncKey, int syncKeyChildIndex, ISyncRequestDelegate theDelegate) : this(SyncOption.LoadAsync, theDelegate) { this.SyncKey = syncKey; this.InstanceKey = instanceKey; this.SyncKeyChildIndex = syncKeyChildIndex; }
/// <summary> /// Initializes a new instance of the <see cref="SyncRequestServerOperation"/> class. /// </summary> /// <param name="instanceKey"> /// The instance key. /// </param> /// <param name="syncKey"> /// The synchronize key. /// </param> /// <param name="theDelegate"> /// The delegate. /// </param> public SyncRequestServerOperation(string instanceKey, string syncKey, ISyncRequestDelegate theDelegate) : this(instanceKey, syncKey, -1, theDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="SyncRequestServerOperation"/> class. /// </summary> /// <param name="syncOptions"> /// The synchronize options. /// </param> /// <param name="theDelegate"> /// The delegate. /// </param> public SyncRequestServerOperation(SyncOption syncOptions, ISyncRequestDelegate theDelegate) { this.SyncOptions = syncOptions; this.Delegate = theDelegate; this.DataSets = null; }