GetRawName() public static méthode

public static GetRawName ( UInt32 TypeId ) : string
TypeId System.UInt32
Résultat string
Exemple #1
0
 public static void WriteSQL(UInt32 type, UInt32 entry, string str)
 {
     if (singleFileStream != null)
     {
         mutex.WaitOne();
         singleFileStream.WriteLine(str);
         mutex.ReleaseMutex();
     }
     else
     {
         String fileName = String.Format("{0}_{1}.sql", Defines.GetRawName(type), entry);
         using (StreamWriter streamWriter = new StreamWriter(fileName, true))
         {
             streamWriter.WriteLine(str);
         }
     }
 }
Exemple #2
0
 public static void WriteSQL(UInt32 type, UInt32 entry, String str)
 {
     mut.WaitOne();
     if (configFileName != "")
     {
         stream.WriteLine(str);
     }
     else
     {
         String       fileName     = String.Format("{0}_{1}.sql", Def.GetRawName(type), entry);
         StreamWriter streamWriter = new StreamWriter(fileName, true);
         streamWriter.WriteLine(str);
         streamWriter.Flush();
         streamWriter.Close();
     }
     mut.ReleaseMutex();
 }