public static IRtTag GetOrAddTag(this IRtConnector conn, string tagName, string topic, IRtTagOptions options = null) { var tag = conn.GetTag(tagName); if (tag == null) { tag = conn.AddTag(tagName, topic, options); } return(tag); }