Bloom.CollectionTab.LibraryBookView.GetAnchorHref C# (CSharp) Метод

GetAnchorHref() приватный статический Метод

private static GetAnchorHref ( EventArgs e ) : string
e EventArgs
Результат string
        private static string GetAnchorHref(EventArgs e)
        {
            var element = (GeckoHtmlElement) (e as DomEventArgs).Target.CastToGeckoElement();
            //nb: it might not be an actual anchor; could be an input-button that we've stuck href on
            return element == null ? "" :
                    element.GetAttribute("href") ?? "";
        }