From 519eccc0126fc901725e1f2e72e3c168056ab724 Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Fri, 16 Jun 2017 00:07:47 -0700 Subject: [PATCH] Add convenience ctor to Span --- Ooui/Span.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Ooui/Span.cs b/Ooui/Span.cs index 980077e..cdfc54a 100644 --- a/Ooui/Span.cs +++ b/Ooui/Span.cs @@ -8,5 +8,11 @@ namespace Ooui : base ("span") { } + + public Span (string text) + : this () + { + Text = text; + } } }