private InternalManifestItem HandleSaveResult( HostService hostService, FileModel model, SaveResult result) { Context.SetFilePath(model.Key, ((RelativePath)model.File).GetPathFromWorkingFolder()); DocumentException.RunAll( () => CheckFileLink(model, hostService, result), () => HandleUids(result), () => RegisterXRefSpec(result)); return(GetManifestItem(model, result)); }
private void HandleSaveResult( DocumentBuildContext context, HostService hostService, FileModel model, SaveResult result) { context.FileMap[((RelativePath)model.OriginalFileAndType.File).GetPathFromWorkingFolder()] = ((RelativePath)model.File).GetPathFromWorkingFolder(); DocumentException.RunAll( () => CheckFileLink(hostService, model, result), () => HandleUids(context, model, result), () => HandleToc(context, result), () => RegisterXRefSpec(context, model, result), () => RegisterManifest(context, model, result)); }
private ManifestItem HandleSaveResult( DocumentBuildContext context, HostService hostService, FileModel model, SaveResult result) { context.FileMap[model.Key] = ((RelativePath)model.File).GetPathFromWorkingFolder(); DocumentException.RunAll( () => CheckFileLink(hostService, result), () => HandleUids(context, result), () => HandleToc(context, result), () => RegisterXRefSpec(context, result)); return(GetManifestItem(context, model, result)); }