/// <summary>
        /// Maps the RuntimeTypeId to a the runtime string representation
        /// </summary>
        public static string ToRuntimeString(this RuntimeTypeId runtimeTypeId)
        {
            Contract.Requires(runtimeTypeId != RuntimeTypeId.Unknown);

            return(s_runtimeStrings[(int)runtimeTypeId]);
        }
Example #2
0
 public Type GetTypeForId(RuntimeTypeId id)
 {
     return(map.GetByKey1(id));
 }