CmisSync.CmisSyncLink.CmisSyncLink C# (CSharp) Метод

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

public CmisSyncLink ( string text, string address ) : System
text string
address string
Результат System
        public CmisSyncLink(string text, string address) : base() {
            this.url = new NSUrl(address);

            AllowsEditingTextAttributes = true;
            BackgroundColor = NSColor.White;
            Bordered        = false;
            DrawsBackground = false;
            Editable        = false;
            Selectable      = false;

            NSData name_data = NSData.FromString(
                "<a href='" + url +
                "' style='font-size: 8pt; font-family: \"Lucida Grande\"; color: #739ECF'>" + text + "</a></font>");

            NSDictionary name_dictionary       = new NSDictionary();
            NSAttributedString name_attributes = new NSAttributedString(name_data, new NSUrl("file://"), out name_dictionary);

            NSMutableAttributedString s = new NSMutableAttributedString();
            s.Append(name_attributes);

            Cell.AttributedStringValue = s;

            SizeToFit();
        }