Mercurial > pub > ImplabNet
comparison Implab/Xml/JsonXmlReader.cs @ 251:7c7e9ad6fe4a v3
Prerelease version of RunnableComponent
Added draft messaging interfaces
Added more more helpers to Xml/SerializationHelpers
| author | cin |
|---|---|
| date | Sun, 11 Feb 2018 00:49:51 +0300 |
| parents | 302ca905c19e |
| children | 3a6e18c432be |
comparison
equal
deleted
inserted
replaced
| 250:9f63dade3a40 | 251:7c7e9ad6fe4a |
|---|---|
| 161 return m_value; | 161 return m_value; |
| 162 } | 162 } |
| 163 } | 163 } |
| 164 | 164 |
| 165 public override string GetAttribute(int i) { | 165 public override string GetAttribute(int i) { |
| 166 Safe.ArgumentInRange(i, 0, AttributeCount - 1, nameof(i)); | 166 Safe.ArgumentInRange(i >= 0 && i < AttributeCount, nameof(i)); |
| 167 return m_attributes[i].Value; | 167 return m_attributes[i].Value; |
| 168 } | 168 } |
| 169 | 169 |
| 170 public override string GetAttribute(string name) { | 170 public override string GetAttribute(string name) { |
| 171 if (m_attributes == null) | 171 if (m_attributes == null) |
