/// <summary> /// Instantiates an instance of <c>AutoSyncRequest</c> for delete purposes. /// </summary> /// <param name="sourceName">The name of the source file or folder.</param> /// <param name="sourceParent">The parent of the source file or folder.</param> /// <param name="destinations">The list of destinations to propagate the source to.</param> /// <param name="requestType">The type of request, eg. create, update, delete or rename.</param> /// <param name="syncConfig">The sync configuration passed in.</param> /// <param name="tagList">The list of tags related to this request.</param> public AutoSyncRequest(string sourceName, string sourceParent, List<string> destinations, AutoSyncRequestType requestType, SyncConfig syncConfig, List<string> tagList) { _sourceName = sourceName; _sourceParent = sourceParent; _destinations = destinations; _requestType = requestType; _syncConfig = syncConfig; _tagList = tagList; }
/// <summary> /// Instantiates an instance of <c>AutoSyncRequest</c> for rename purposes. /// </summary> /// <param name="oldName">The old name of the object.</param> /// <param name="newName">The new name of the object.</param> /// <param name="sourceParent">The parent of the source file or folder.</param> /// <param name="destinations">The list of destinations to propagate the source to.</param> /// <param name="isFolder"></param> /// <param name="requestType">The type of request, eg. create, update, delete or rename.</param> /// <param name="syncConfig">The sync configuration passed in.</param> /// <param name="tagList">The list of tags related to this request.</param> public AutoSyncRequest(string oldName, string newName, string sourceParent, List<string> destinations, bool? isFolder, AutoSyncRequestType requestType, SyncConfig syncConfig, List<string> tagList) : this(newName, sourceParent, destinations, isFolder, requestType, syncConfig, tagList) { _oldName = oldName; }
/// <summary> /// Instantiates an instance of <c>AutoSyncRequest</c> for create and update purposes. /// </summary> /// <param name="sourceName">The name of the source file or folder.</param> /// <param name="sourceParent">The parent of the source file or folder.</param> /// <param name="destinations">The list of destinations to propagate the source to.</param> /// <param name="isFolder"></param> /// <param name="requestType">The type of request, eg. create, update, delete or rename.</param> /// <param name="syncConfig">The sync configuration passed in.</param> /// <param name="tagList">The list of tags related to this request.</param> public AutoSyncRequest(string sourceName, string sourceParent, List<string> destinations, bool? isFolder, AutoSyncRequestType requestType, SyncConfig syncConfig, List<string> tagList) : this(sourceName, sourceParent, destinations, requestType, syncConfig, tagList) { _isFolder = isFolder; _tagList = tagList; }