Esempio n. 1
0
 public static bool IsExtraMaterial(string id)
 {
     return(IsBookIdValid(id) && NonCanonicalIds.Contains(id));
 }
Esempio n. 2
0
 /// <summary>
 /// True if this is a canonical book id, as opposed to front matter etc.
 /// </summary>
 public static bool IsCanonical(string id)
 {
     return(IsBookIdValid(id) && !NonCanonicalIds.Contains(id));
 }