public FeatureDirectoryTreeNode(FileSystemInfo location, string relativePathFromRoot, Feature feature) { this.OriginalLocation = location; this.OriginalLocationUrl = location.ToUri(); this.RelativePathFromRoot = relativePathFromRoot; this.Feature = feature; }
public MarkdownTreeNode(FileSystemInfo location, string relativePathFromRoot, XElement markdownContent) { this.OriginalLocation = location; this.OriginalLocationUrl = location.ToUri(); this.RelativePathFromRoot = relativePathFromRoot; this.MarkdownContent = markdownContent; }
public FolderDirectoryTreeNode(FileSystemInfo location, string relativePathFromRoot) { this.OriginalLocation = location; this.OriginalLocationUrl = location.ToUri(); this.RelativePathFromRoot = relativePathFromRoot; }
public static string GetUriForTargetRelativeToMe(this Uri me, FileSystemInfo target, string newExtension) { return target.FullName != me.LocalPath ? me.MakeRelativeUri(target.ToUri()).ToString().Replace(target.Extension, newExtension) : "#"; }