public SharpPartialPage(ScriptContext context, string name, IEnumerable <PageFragment> body, string format, Dictionary <string, object> args = null) : base(context, CreateFile(name, format), context.GetFormat(format)) { PageFragments = body.ToArray(); Args = args ?? new Dictionary <string, object>(); }