コード例 #1
0
 public IndexedFileNameSource(IndexedStringTable strings)
 {
     _strings = strings;
 }
コード例 #2
0
 public IndexedStringIDSource(IndexedStringTable strings, IStringIDResolver resolver)
 {
     _strings  = strings;
     _resolver = resolver;
 }
コード例 #3
0
 /// <summary>
 ///     Constructs a new LengthBasedStringIDResolver.
 /// </summary>
 /// <param name="strings">The IndexedStringTable to reference to get string lengths.</param>
 public LengthBasedStringIDResolver(IndexedStringTable strings)
 {
     _strings = strings;
     IDLayout = new StringIDLayout(24, 0, 8);             // TODO: is it necessary to make this a build option?
 }