public override string Evaluate(Context context) { using (StreamReader reader = new StreamReader(Path.GetFullPath(ParseUtilites.GetPathForIncludeParse(PathToFile)))) { return(reader.ReadToEnd()); } }
public override string Evaluate(Context context) { string path = ParseUtilites.GetPathForIncludeParse(FilePath); return(MacroEngine.Merge(path, new Context())); }