Source/NFX/Environment/ConfigNode.cs
/// <summary>
/// Returns attribute node by its index or empty attribute if real attribute with such index does not exist
/// </summary>
Returns attribute node by its index or empty attribute if real attribute with such index does not exist
Returns attribute node by its index or empty attribute if real attribute with such index does not exist
public ConfigAttrNode AttrByIndex(int idx)
        {
          lock(m_Attributes)
            if (idx >= 0 && idx < m_Attributes.Count)
              return m_Attributes[idx];
            else
              return m_Configuration.m_EmptyAttrNode;
        }
public ConfigAttrNode AttrByIndex ( int idx ) { lock ( m_Attributes ) if ( idx >= 0 && idx < m_Attributes . Count ) return m_Attributes [ idx ] ; else return m_Configuration . m_EmptyAttrNode ; }
Returns attribute node by its index or empty attribute if real attribute with such index does not exist
Returns attribute node by its index or empty attribute if real attribute with such index does not exist
idx
int