ExistingPagesBeginWith() public méthode

public ExistingPagesBeginWith ( System.Guid siteID, string sFolderPath ) : bool
siteID System.Guid
sFolderPath string
Résultat bool
Exemple #1
0
        protected bool FoldersAreValid()
        {
            string sFolderPath = this.Blog_FolderPath ?? String.Empty;

            if (SiteData.CurretSiteExists) {
                using (ContentPageHelper pageHelper = new ContentPageHelper()) {
                    var exists = pageHelper.ExistingPagesBeginWith(this);

                    return !exists;
                }
            } else {
                return true;
            }

            return false;
        }