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