Exemplo n.º 1
0
        public bool ValidateBibTeXDatabase(BibTeXDatabase database)
        {
            foreach (var entry in database.Entries)
            {
                ValidateBibTeXEntry(entry);
            }

            return(true);
        }
Exemplo n.º 2
0
 public string SerializeBibTeXDatabase(BibTeXDatabase database)
 {
     return(SerializeBibTeXEntries(database.Entries));
 }
Exemplo n.º 3
0
        public static string ConvertBibTeXDatabaseToText(BibTeXDatabase database, BibTeXBeginEndFieldValueCharacterType beginEndFieldValueCharacterType = BibTeXBeginEndFieldValueCharacterType.QuotationMarks, BibTeXMonthStyle monthStyle = BibTeXMonthStyle.January, BibTeXFormatStyle formatStyle = BibTeXFormatStyle.Readable)
        {
            var serializer = new BibTeXSerializer(beginEndFieldValueCharacterType, monthStyle, formatStyle);

            return(serializer.SerializeBibTeXDatabase(database));
        }