BetterWaywo.WeightsConfig.GetContentValue C# (CSharp) Метод

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

public GetContentValue ( string tag, Uri uri ) : float
tag string
uri System.Uri
Результат float
        public float GetContentValue(string tag, Uri uri)
        {
            if (Content != null)
            {
                var match = Content.FirstOrDefault(x => x.Matches(tag, uri));

                if (match != null)
                    return match.Score;
            }

            return ContentDefault;
        }