Aqueduct.SitecoreLib.Indexing.SearchIndexer.IsItemIndexable C# (CSharp) Méthode

IsItemIndexable() private méthode

private IsItemIndexable ( System.Item currentItem ) : bool
currentItem System.Item
Résultat bool
        private bool IsItemIndexable(Item currentItem)
        {
            // if this is not a "__Standard Values" item then index
            const string standardValuesDefaultItemName = "__Standard Values";
            const string branchDefaultItemName = "$name";

            return currentItem.Name != standardValuesDefaultItemName && currentItem.Name != branchDefaultItemName &&
                   CanIndexItem(currentItem);
        }