C# Class LinqIntro.Mappers.BaseMapper

Show file Open project: tekpub/MasteringLinq

Protected Methods

Method Description
EnumerateAttributes ( IEnumerable elements ) : void
GetDateAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : System.DateTime
GetIntAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : int
GetStringAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : string

Method Details

EnumerateAttributes() protected method

protected EnumerateAttributes ( IEnumerable elements ) : void
elements IEnumerable
return void

GetDateAttributeValue() protected method

protected GetDateAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : System.DateTime
element System.Xml.Linq.XElement
attributeName string
return System.DateTime

GetIntAttributeValue() protected method

protected GetIntAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : int
element System.Xml.Linq.XElement
attributeName string
return int

GetStringAttributeValue() protected method

protected GetStringAttributeValue ( System.Xml.Linq.XElement element, string attributeName ) : string
element System.Xml.Linq.XElement
attributeName string
return string