BetterCms.Module.Pages.Services.DefaultUrlService.PathExistsInUnsavedList C# (CSharp) Method

PathExistsInUnsavedList() private method

Checks if path exists in unsaved list.
private PathExistsInUnsavedList ( string url, List unsavedUrls ) : bool
url string The URL.
unsavedUrls List The unsaved urls.
return bool
        private bool PathExistsInUnsavedList(string url, List<string> unsavedUrls)
        {
            return unsavedUrls.Any(u => u == url);
        }