Exemplo n.º 1
0
 public static bool IsExtraMaterial(string id)
 {
     return(IsBookIdValid(id) && NonCanonicalIds.Contains(id));
 }
Exemplo 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));
 }