Exemple #1
0
 /// <summary>
 /// 默认取出第一个
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public T Get <T>()
 {
     return(ParamsHelper.TryGetParam <T>(Data, 0, default(T), ref m_error));
 }
Exemple #2
0
 /// <summary>
 /// 取出参数列表的index个
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="index"></param>
 /// <returns></returns>
 public T Get <T>(int index)
 {
     return(ParamsHelper.TryGetParam <T>(Data, index, default(T), ref m_error));
 }