Пример #1
0
 public void close()
 {
     this.definition.close();
     this.definition            = null;
     m_OnAddDefinitionObject    = null;
     m_OnRemoveDefinitionObject = null;
 }
Пример #2
0
        public void endPath()
        {
            var p = getPrimaryTokens(m_Index);
            var s = getSecondaryTokens(m_Index);

            this.definition = new TezAttributeDef()
            {
                primaryPath   = p.Count > 0 ? p.ToArray() : null,
                secondaryPath = s.Count > 0 ? s.ToArray() : null
            };

            free(m_Index);
            m_Index = -1;
        }