コード例 #1
0
 /// <summary>
 ///     Create a new generrator parameters object from the stream text.
 /// </summary>
 /// <param name="genDataDef">The definition of the generator data.</param>
 /// <param name="stream">The stream data being loaded.</param>
 public GenParameters(GenDataDef genDataDef, Stream stream) : base(genDataDef)
 {
     Scan = new ParameterScanner(stream);
     Parse();
     Changed = false;
 }
コード例 #2
0
 /// <summary>
 ///     Create a new generator parameters object from the given text.
 /// </summary>
 /// <param name="genDataDef">The definition of the generator data.</param>
 /// <param name="text">The text data being loaded.</param>
 public GenParameters(GenDataDef genDataDef, string text) : base(genDataDef)
 {
     Scan = new ParameterScanner(text);
     Parse();
 }