Exemplo n.º 1
0
 /// <summary>
 /// Creates a FolderDeleteRequest instance using the specified information
 /// </summary>
 /// <param name="syncKey">The syncKey of this request</param>
 /// <param name="serverId">Specified the deleted folder's server id</param>
 /// <returns>A FolderDeleteRequest instance</returns>
 public static FolderDeleteRequest CreateFolderDeleteRequest(string syncKey, string serverId)
 {
     FolderDeleteRequest request = new FolderDeleteRequest();
     Request.FolderDelete requestData = new Request.FolderDelete { SyncKey = syncKey, ServerId = serverId };
     request.RequestData = requestData;
     return request;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Creates an empty FolderDeleteRequest instance
        /// </summary>
        /// <returns>A FolderDeleteRequest instance</returns>
        public static FolderDeleteRequest CreateFolderDeleteRequest()
        {
            FolderDeleteRequest request = new FolderDeleteRequest();
            Request.FolderDelete requestData = new Request.FolderDelete();

            request.RequestData = requestData;
            return request;
        }