コード例 #1
0
 static MailEncoding()
 {
     Base64 = new Base64Encoder();
     QuotedPrintable = new QuotedPrintableEncoder();
     _aliasEncoders = new Dictionary<string, IMailEncoder>()
     {
         { QuotedPrintable.Alias, QuotedPrintable },
         { Base64.Alias, Base64 }
     };
 }
コード例 #2
0
 static MailEncoding()
 {
     Base64          = new Base64Encoder();
     QuotedPrintable = new QuotedPrintableEncoder();
     _aliasEncoders  = new Dictionary <string, IMailEncoder>()
     {
         { QuotedPrintable.Alias, QuotedPrintable },
         { Base64.Alias, Base64 }
     };
 }