コード例 #1
0
        public override void ExitDatatableRow([NotNull] SBP.DatatableRowContext context)
        {
            var startText = context.children[0].GetText();

            if (m_currentDatatable != null)
            {
                m_currentDatatable.AddSourceRow(startText, m_currentDatatableRowData);
                m_currentDatatableRowData = null;
            }
            else
            {
                m_currentDatatableRowData.Insert(0, new Tuple <string, TypeReference, object>(startText, new TypeReference(typeof(void)), null));
            }
        }
コード例 #2
0
 public override void EnterDatatableRow([NotNull] SBP.DatatableRowContext context)
 {
     m_currentDatatableRowData = new List <Tuple <string, TypeReference, object> >();
 }