Here are the examples of the csharp api System.Xml.XmlReader.ReadContentAsDouble() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : UnlockInfo.cs
with MIT License
from smellyriver
with MIT License
from smellyriver
bool ISectionDeserializable.DeserializeSection(string name, XmlReader reader)
{
if (name == SectionDeserializableImpl.replacedleToken)
{
_tankObjectType = reader.Name;
return true;
}
_key = reader.ReadString().Trim();
reader.ReadStartElement("cost");
var experience = reader.ReadContentAsDouble();
this.ExperiencePrice = (int)experience;
reader.ReadEndElement();
_isResolved = false;
return true;
}