public TextPart(TextPartType type, string text, Microsoft.CodeAnalysis.DiagnosticSeverity?severity) { this.Type = type; this.Text = text; this.Severity = severity; }
public TextPart(string contents, TextPartType type) { _contents = contents; _type = type; }
internal TextPart( string _text, TextPartType _type, string _url ) { m_text = _text; m_type = _type; m_url = _url; }
internal TextPart( string _text, TextPartType _type ) : this(_text, _type, null) { }
public TextPart(string name, TextPartType type, string content) { Name = name; Type = type; Content = content; }
public TextPart(string content, TextPartType type) { Contents = content; Type = type; }