public FeedIndexableGenerator(LifereaQueryable queryable, string feed_file) { this.queryable = queryable; this.feed_file = feed_file; this.serializer = queryable.Serializer; ReadFeedHeader(); // Set icon file string file_name = Path.GetFileNameWithoutExtension(feed_file); this.icon_file = this.queryable.icon_dir; this.icon_file = Path.Combine(icon_file, file_name); this.icon_file = Path.ChangeExtension(icon_file, "png"); }
public FeedIndexableGenerator (LifereaQueryable queryable, string feed_file) { this.queryable = queryable; this.feed_file = feed_file; this.serializer = queryable.Serializer; ReadFeedHeader (); // Set icon file string file_name = Path.GetFileNameWithoutExtension (feed_file); this.icon_file = this.queryable.icon_dir; this.icon_file = Path.Combine (icon_file, file_name); this.icon_file = Path.ChangeExtension (icon_file, "png"); }