BetterCms.Module.Pages.Services.DefaultUrlService.PathExistsInUnsavedList C# (CSharp) Метод

PathExistsInUnsavedList() приватный Метод

Checks if path exists in unsaved list.
private PathExistsInUnsavedList ( string url, List unsavedUrls ) : bool
url string The URL.
unsavedUrls List The unsaved urls.
Результат bool
        private bool PathExistsInUnsavedList(string url, List<string> unsavedUrls)
        {
            return unsavedUrls.Any(u => u == url);
        }