diff options
Diffstat (limited to 'Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs')
| -rw-r--r-- | Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs | 71 |
1 files changed, 38 insertions, 33 deletions
diff --git a/Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs b/Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs index 3b6091f73..78dcffbe7 100644 --- a/Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs +++ b/Emby.Common.Implementations/IO/SharpCifs/Smb/DfsReferral.cs @@ -18,50 +18,55 @@ using System.Collections.Generic; namespace SharpCifs.Smb { - - public class DfsReferral : SmbException - { - public int PathConsumed; - public long Ttl; + public class DfsReferral : SmbException + { + public int PathConsumed; - public string Server; + public long Ttl; - public string Share; + public string Server; - public string Link; + public string Share; - public string Path; + public string Link; - public bool ResolveHashes; + public string Path; - public long Expiration; + public bool ResolveHashes; - internal DfsReferral Next; + public long Expiration; - internal IDictionary<string, DfsReferral> Map; + internal DfsReferral Next; - internal string Key = null; + internal IDictionary<string, DfsReferral> Map; - public DfsReferral() - { - // Server - // Share - // Path relative to tree from which this referral was thrown - Next = this; - } + internal string Key = null; - internal virtual void Append(DfsReferral dr) - { - dr.Next = Next; - Next = dr; - } + public DfsReferral() + { + // Server + // Share + // Path relative to tree from which this referral was thrown + Next = this; + } - public override string ToString() - { - return "DfsReferral[pathConsumed=" + PathConsumed + ",server=" + Server + ",share=" - + Share + ",link=" + Link + ",path=" + Path + ",ttl=" + Ttl + ",expiration=" + - Expiration + ",resolveHashes=" + ResolveHashes + "]"; - } - } + internal virtual void Append(DfsReferral dr) + { + dr.Next = Next; + Next = dr; + } + + public override string ToString() + { + return "DfsReferral[pathConsumed=" + PathConsumed + + ",server=" + Server + + ",share=" + Share + + ",link=" + Link + + ",path=" + Path + + ",ttl=" + Ttl + + ",expiration=" + Expiration + + ",resolveHashes=" + ResolveHashes + "]"; + } + } } |
