Skip to content

Current NuGet package is old and hardcoded to WebDavDiskStoreCollection #12

Description

@johnterickson

I was having trouble using the latest NuGet package and noticed that it is quite old. Using DotPeek, I found that the handlers were hardcoded to use WebDavDiskStoreCollection (See below).

Can the NuGet package be updated?

Thanks!
John

private List<IWebDavStoreItem> GetWebDavStoreItems(/*Parameter with token 08000054*/IWebDavStoreItem iWebDavStoreItem, /*Parameter with token 08000055*/int depth)
{
  List<IWebDavStoreItem> list = new List<IWebDavStoreItem>();
  if (iWebDavStoreItem.GetType() == typeof (WebDavDiskStoreCollection))
  {
    list.Add(iWebDavStoreItem);
    if (depth != 0)
    {
      foreach (IWebDavStoreItem webDavStoreItem in ((IWebDavStoreCollection) iWebDavStoreItem).Items)
      {
        try
        {
          list.Add(webDavStoreItem);
        }
        catch (Exception ex)
        {
        }
      }
    }
    return list;
  }
  if (!(iWebDavStoreItem.GetType() == typeof (WebDavDiskStoreDocument)))
    throw new WebDavConflictException((string) null, (Exception) null);
  list.Add(iWebDavStoreItem);
  return list;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions