public virtual string GetRelativePathTo(INodeAddress name) { if (!this.RootUri.Equals(name.RootUri)) { throw new ArgumentOutOfRangeException(name.ToString()); } return(GetRelativePathTo(name.AbsolutePath)); }
public NodeNotFoundException(INodeAddress nodeAddress, NodeType nodeType, Exception innerException) : base(nodeAddress != null ? "VirtualFileSystem item not found: " + nodeAddress.ToString() : "", innerException) { NodeType = nodeType; NodeAddress = nodeAddress; if (NodeAddress != null) { Uri = NodeAddress.Uri; } }
public override string ToString() { return(address.ToString()); }
public virtual string GetRelativePathTo(INodeAddress name) { if (!this.RootUri.Equals(name.RootUri)) { throw new ArgumentOutOfRangeException(name.ToString()); } return GetRelativePathTo(name.AbsolutePath); }