Bloom.Publish.SHRP_TeachersGuideExtension.ExtensionIsApplicable C# (CSharp) Method

ExtensionIsApplicable() public static method

public static ExtensionIsApplicable ( Book book ) : bool
book Bloom.Book.Book
return bool
        public static bool ExtensionIsApplicable(Book.Book book)
        {
            //for now we're not doing real extension dlls, just kind of faking it. So we will limit this load
            //to books we know go with this currently "built-in" "extension" for SIL LEAD's SHRP Project.
            return book.CollectionSettings.CollectionName.Contains("Guide") || book.CollectionSettings.CollectionName.Contains("TG");
        }
SHRP_TeachersGuideExtension