BetterWaywo.ContentConfig.Matches C# (CSharp) Метод

Matches() публичный Метод

public Matches ( string tag, Uri uri ) : bool
tag string
uri System.Uri
Результат bool
        public bool Matches(string tag, Uri uri)
        {
            if (!Tags.Any(x => x.Equals(tag)))
                return false;

            if (Extensions == null)
                return true;

            var extension = Path.GetExtension(uri.AbsolutePath);

            return Extensions.Any(x => x.Equals(extension));
        }
ContentConfig