SenseNet.ContentRepository.Storage.DataBackingStore.MustCache C# (CSharp) Method

MustCache() private static method

private static MustCache ( NodeType nodeType ) : bool
nodeType SenseNet.ContentRepository.Storage.Schema.NodeType
return bool
        private static bool MustCache(NodeType nodeType)
        {
            if (RepositoryConfiguration.CacheContentAfterSaveMode != RepositoryConfiguration.CacheContentAfterSaveOption.Containers)
                return RepositoryConfiguration.CacheContentAfterSaveMode == RepositoryConfiguration.CacheContentAfterSaveOption.All ? true : false;
            //return nodeType.IsInstaceOfOrDerivedFrom("Folder");
            var type = TypeHandler.GetType(nodeType.ClassName);
            return typeof(IFolder).IsAssignableFrom(type);
        }
        private static bool IsDeadlockException(System.Data.Common.DbException e)