Esempio n. 1
0
 public TextPart(TextPartType type, string text, Microsoft.CodeAnalysis.DiagnosticSeverity?severity)
 {
     this.Type     = type;
     this.Text     = text;
     this.Severity = severity;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 6
0
 public TextPart(string content, TextPartType type)
 {
     Contents = content;
     Type     = type;
 }