public MLabel(MLabel other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Text = other.Text; _url = other.Url; Title = other.Title; }
public static MLabel Label(MLabel other) { return(new MLabel(other)); }