Open() public méthode

public Open ( string fileName ) : Stream
fileName string
Résultat System.IO.Stream
Exemple #1
0
 private KeyedClientDatabase <int, LiquidTypeRecord> InitializeDatabase(MpqFileReader fileReader)
 {
     using (var stream = fileReader.Open("DBFilesClient\\LiquidType.dbc"))
     {
         return(new KeyedClientDatabase <int, LiquidTypeRecord>(stream));
     }
 }
Exemple #2
0
 private KeyedClientDatabase<int, LiquidTypeRecord> InitializeDatabase(MpqFileReader fileReader)
 {
     using (var stream = fileReader.Open("DBFilesClient\\LiquidType.dbc"))
     {
         return new KeyedClientDatabase<int, LiquidTypeRecord>(stream);
     }
 }