コード例 #1
0
ファイル: StreamUtils.cs プロジェクト: shengqh/RCPA.Core
 static StreamUtils()
 {
   if (SystemUtils.CurrentSystem == SystemType.Mono3Lower)
   {
     funcByPlatform = GetCharposMono3;
   }
   else
   {
     funcByPlatform = GetCharposWindowsMono4;
   }
 }
コード例 #2
0
 static StreamUtils()
 {
     if (SystemUtils.CurrentSystem == SystemType.Mono3Lower)
     {
         funcByPlatform = GetCharposMono3;
     }
     else if (SystemUtils.CurrentSystem == SystemType.Mono6Upper)
     {
         funcByPlatform = GetCharposMono6;
     }
     else
     {
         funcByPlatform = GetCharposWindowsMono4;
     }
 }