C# Class PassFruit.Datastore.XmlDatastore.XmlDatastore

Inheritance: DatastoreBase
Show file Open project: bettiolo/PassFruit Class Usage Examples

Public Methods

Method Description
GetAccountDto ( System.Guid accountId ) : AccountDto
GetAccountFieldDtos ( System.Guid accountId ) : IList
GetAllAccountIds ( ) : System.Guid[]
XmlDatastore ( XmlDatastoreConfiguration configuration ) : System

Protected Methods

Method Description
SaveSpecificAccountDto ( AccountDto accountDto ) : void

Private Methods

Method Description
AccountElementIsDeleted ( System.Guid accountId ) : bool
GetAccountDeletedElement ( System.Guid accountId ) : System.Xml.Linq.XElement
GetAccountElement ( System.Guid accountId ) : System.Xml.Linq.XElement
GetAccountFieldsElement ( System.Guid accountId ) : System.Xml.Linq.XElement
GetAccountIdsWithFilter ( bool>.Func filterAccount ) : System.Guid[]
GetAccountProviderElement ( System.Guid accountId ) : System.Xml.Linq.XElement
GetAccountsElement ( ) : System.Xml.Linq.XElement
GetElementsWithId ( System.Xml.Linq.XContainer containingElement, string idPrefix, XElement>.Action processChildElement ) : void
GetFieldElement ( System.Guid accountId, System.Guid fieldId ) : System.Xml.Linq.XElement
GetFieldNameElement ( System.Guid accountId, System.Guid fieldId ) : System.Xml.Linq.XElement
GetFieldTypeKeyElement ( System.Guid accountId, System.Guid fieldId ) : System.Xml.Linq.XElement
GetFieldValueElement ( System.Guid accountId, System.Guid fieldId ) : System.Xml.Linq.XElement
GetLastChangedUtc ( System.Xml.Linq.XElement element ) : System.DateTime
GetLastChangedUtcAttribute ( System.Xml.Linq.XElement element ) : System.Xml.Linq.XAttribute
GetNoteElement ( System.Guid accountId ) : System.Xml.Linq.XElement
GetOrCreateAttribute ( string attributeName, System.Xml.Linq.XElement element ) : System.Xml.Linq.XAttribute
GetOrCreateElement ( string elementName, System.Xml.Linq.XContainer parentElement ) : System.Xml.Linq.XElement
GetPassFruitElement ( ) : System.Xml.Linq.XElement
GetPasswordsElement ( ) : System.Xml.Linq.XElement
GetProviderElement ( string providerKey ) : System.Xml.Linq.XElement
GetProvidersElement ( ) : System.Xml.Linq.XElement
GetTagElement ( string tagName, System.Guid accountId ) : System.Xml.Linq.XElement
GetTags ( System.Guid accountId ) : TagDto[]
GetTagsElement ( System.Guid accountId ) : System.Xml.Linq.XElement
LoadXDocument ( ) : void
SaveXml ( ) : void
UpdateLastChangedUtc ( System.Xml.Linq.XElement element ) : void

Method Details

GetAccountDto() public method

public GetAccountDto ( System.Guid accountId ) : AccountDto
accountId System.Guid
return AccountDto

GetAccountFieldDtos() public method

public GetAccountFieldDtos ( System.Guid accountId ) : IList
accountId System.Guid
return IList

GetAllAccountIds() public method

public GetAllAccountIds ( ) : System.Guid[]
return System.Guid[]

SaveSpecificAccountDto() protected method

protected SaveSpecificAccountDto ( AccountDto accountDto ) : void
accountDto AccountDto
return void

XmlDatastore() public method

public XmlDatastore ( XmlDatastoreConfiguration configuration ) : System
configuration XmlDatastoreConfiguration
return System