Skip to content

Current NuGet package is old and hardcoded to WebDavDiskStoreCollection #12

Open
@johnterickson

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;
}

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