예제 #1
0
파일: EnumTable.cs 프로젝트: wtfcolt/game
 /// <summary>
 /// Gets the index for a key.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <returns>The index for the <paramref name="key"/>.</returns>
 static int GetIndex(TKey key)
 {
     return(KeyInfo <TKey> .RawTableGetIndex(key));
 }