コード例 #1
0
        public MailReader()
        {
            m_FieldParser = new FieldParser();
            m_FieldParser.CompilePattern();

            m_UnfoldPattern = PatternFactory.GetInstance().Get(typeof(Pattern.UnfoldPattern));
        }
コード例 #2
0
ファイル: MailReader.cs プロジェクト: smithimage/MIMER
        public MailReader()
        {
            m_FieldParser = new FieldParser();
            m_FieldParser.CompilePattern();

            m_UnfoldPattern = PatternFactory.GetInstance().Get(typeof (Pattern.UnfoldPattern));
        }
コード例 #3
0
 public ContentTypeFieldParser(FieldParser original)
     : base(original)
 {
     m_TokenPattern = PatternFactory.GetInstance().Get(typeof(RFC822.Pattern.TokenPattern));
     m_ContentPattern = PatternFactory.GetInstance().Get(typeof (Pattern.ContentTypePattern));
     m_TypePattern = PatternFactory.GetInstance().Get(typeof (Pattern.TypePattern));
     SubTypePattern = PatternFactory.GetInstance().Get(typeof (Pattern.SubTypePattern));
     m_ParameterPattern = PatternFactory.GetInstance().Get(typeof (Pattern.ParameterPattern));
     m_ValuePattern = PatternFactory.GetInstance().Get(typeof (Pattern.ValuePattern));
 }
コード例 #4
0
ファイル: FieldParserTests.cs プロジェクト: smithimage/MIMER
 public void Setup()
 {
     m_Parser = new FieldParser();
 }