RegisterInternalXrefSpecBookmark() 공개 메소드

public RegisterInternalXrefSpecBookmark ( string uid, string bookmark ) : void
uid string
bookmark string
리턴 void
예제 #1
0
        private void FeedOptions()
        {
            Logger.LogVerbose("Feeding options from template...");
            _manifestWithContext.RunAll(m =>
            {
                if (m.TemplateBundle == null)
                {
                    return;
                }

                using (new LoggerFileScope(m.FileModel.LocalPathFromRoot))
                {
                    Logger.LogDiagnostic($"Feed options from template for {m.Item.DocumentType}...");
                    m.Options = m.TemplateBundle.GetOptions(m.Item, _context);
                    if (m.Options?.Bookmarks != null)
                    {
                        foreach (var pair in m.Options.Bookmarks)
                        {
                            _context.RegisterInternalXrefSpecBookmark(pair.Key, pair.Value);
                        }
                    }
                }
            },
                                        _context.MaxParallelism);
        }